Public Declare Function OpenCom lib "PCBDll.dll" (ByVal bComID As Byte,ByVal bByteSize As Byte,ByVal bStopBits As Byte,ByVal bParity As Byte,ByVal DWBaudrate As Long) As LongPublic Declare Function CloseCom lib "PCBDll.dll" (ByVal bComID As Byte) As LongPublic Declare Function reset lib "PCBDll.dll" (ByRef Status As Long,ByVal WaitTime As Long) As LongPublic Declare Function SettingTrackBuf lib "PCBDll.dll" (ByVal CodeNum As Byte,ByVal Data As String,ByVal DataLen As Long,ByRef Status As Long,ByVal WaitTime As Long) As LongPublic Declare Function WriteTrack lib "PCBDll.dll" (ByVal CodeNum As Byte,ByVal TrackNum As Long,ByVal WaitTime As Long) As LongPublic Declare Function Read lib "PCBDll.dll" (ByVal CodeNum As Byte,ByVal Res As String,ByVal WaitTime As Long) As Long只要原Dll参数类型改成与VB里面类型兼容的类型即可。 总结
以上是内存溢出为你收集整理的VB6.0 调用第三方dll全部内容,希望文章能够帮你解决VB6.0 调用第三方dll所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)