我正在为我们的POS应用程序使用CD722UN客户显示器。使用DLL /驱动程序的最佳解决方案?
它配备了USB2.0接口,并含司机ECT一个安装包..
现在,我的应用程序。当我想访问这个驱动程序时我应该怎么做?
目前我使用的“CD722UN应用” S .dll文件路径,但来自客户端的OS ECT是可以warry ..
Declare Function opencd722usb Lib "C:\Program\cd7220 USB\cd722dusb.dll"() As Boolean
Declare Function writecd722usb Lib "C:\Program\cd7220 USB\cd722dusb.dll" (ByRef dataoutput As Byte, ByVal Length As Integer) As Integer
Declare Function readcd722usb Lib "C:\Program\cd7220 USB\cd722dusb.dll" (ByRef DataInput As Byte, ByVal size As Integer) As Integer
Declare Function closecd722usb Lib "C:\Program\cd7220 USB\cd722dusb.dll"() As Boolean
我首先想到的是先检查是否有安装设备在设备管理器,并以某种方式使用从那里的驱动程序?
或
分发该.dll我们的应用程序文件夹中,并使用
搜索路径""installed directory"\cd722dusb.dll"
什么是最好的解决办法吗?
在此先感谢!
太棒了!那就是我将要做的事情。选项nr1并将其包含在我已安装的应用程序文件夹中! (: 再一次感谢你 – Alexander 2010-02-25 12:16:56