以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- DLL的调用 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=148367) |
||||
-- 作者:咸鱼 -- 发布时间:2020/4/6 17:31:00 -- DLL的调用
麻烦老师,教教我,怎么调用这个DLL,谢谢 此主题相关图片如下:无标题.png |
||||
-- 作者:有点蓝 -- 发布时间:2020/4/6 20:12:00 -- UHFReader09CSharp.dll和Basic.dll复制到foxtable的安装目录,添加对UHFReader09CSharp.dll的引用:http://www.foxtable.com/webhelp/topics/1936.htm 命令窗口执行下面代码: Dim port As Integer =0 Dim fComAdr As Byte = &Hff \'当前操作的ComAdr Dim ferrorcode,frmcomportindex As Integer Dim fBaud As Byte Dim openresult As Integer = ReaderB.StaticClassReaderB.AutoOpenComPort(port,fComAdr,fBaud,frmcomportindex) msgbox(openresult ) |