使用VB.NET 进行RFID 编程|第二部分
这篇文章与之前的一篇文章相关: 使用 VB.NET 进行 RFID 编程
感谢您的回答,马克,我已经将它们更改为整数(因为它与端口一样长但 dc_init 作为整数时不匹配)我决定用整数更改所有内容。它有效。
现在,我遇到了另一个问题。 dc_init 工作后(在我将这些数据类型更改为整数后),我在调用 dc_cards 函数时遇到问题。
有关 dc_init 函数的更多信息,我还提供了手册文件(来自 RFID 入门包),
以下是您需要查看的内容: 下载
很抱歉,我无法更具体地解释这个问题,因为我无法发布图像,并且只能包含 2 个链接。下载上面的东西也许会有所帮助。它包括我在 VB.NET 中的项目、VB6 示例程序(它可以工作并且完全没有错误)、dcrf32.dll 文件(将它们复制到 system32 RFID 驱动程序)。
我根据VB6示例程序(来自入门包)在VB.NET中执行此操作,但由于将VB6迁移到VB.NET,这有点困难。
我对这段代码真的很奇怪,我从来没有学过它,我不知道该怎么做。也许马克可以在我的情况下进一步帮助我。 多谢。
This post is related to a post before this one :
RFID Programming With VB.NET
Thanks for the answer Mark, i already change those to integer (because it doesnt match when port as long but the dc_init as Integer) i decided to change everything with Integer. And it works.
Now, i'm having another problem.
After the dc_init works (after i change those datatype to integer) i'm having a problem when calling dc_cards function.
For further information about the dc_init function i also include the manual file (from the RFID starter pack)
Here is the things that you need to see :
Download
I'm sorry i can't explain more specific about this problem, because i can't post images and only 2 link that i can include. Maybe it would help by downloading those thing above. It includes my project in VB.NET, and the VB6 example program (it works and no bug at all), the dcrf32.dll file (copy them to system32 the driver for RFID).
I'm doing this in VB.NET according to VB6 sample program (from the starter pack), but it's kind of difficult since migrating VB6 to VB.NET.
i really strange with this code, i never learn it and i don't know what to do. Maybe Mark could help me further in my situation.
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
dc_card 函数的声明应该是:
您应该传递从 dc_init 函数获得的 icdev,模式为 0,您的信息将位于 snr 变量中,状态将位于 st 中。
在你的声明中:
The Declaration for the dc_card Function should be:
You should be passing the icdev you got from the dc_init function, and the mode of 0, your information will be in the snr variable and the status will be in st.
in your declares: