vb中引入初始定义模块后一直说是编译错误:用户定义类型未定义
visualbasic6.0中,将采集卡的动态链接库dll放入路径中,并把定义模块bas添加到工程中,但是在编译时PublicDeclareFunctionSetData...
visual basic 6.0中,将采集卡的动态链接库dll放入路径中,并把定义模块bas添加到工程中,但是在编译时
Public Declare Function SetDataReadyCallback Lib "hs4.dll" (ByVal pAddress As Long) As Integer
Public Declare Function SetDataReadyEvent Lib "hs4.dll" (ByVal hEvent As THandle) As Integer
Public Declare Function SetTransferMode Lib "hs4.dll" (ByVal dwMode As Long) As Integer
Public Declare Function GetTransferMode Lib "hs4.dll" (ByRef dwMode As Long) As Integer
这些都出现编译错误:用户定义类型未定义,不知道是什么引用或者部件未定义。求大侠支招
窗体对象如图 展开
Public Declare Function SetDataReadyCallback Lib "hs4.dll" (ByVal pAddress As Long) As Integer
Public Declare Function SetDataReadyEvent Lib "hs4.dll" (ByVal hEvent As THandle) As Integer
Public Declare Function SetTransferMode Lib "hs4.dll" (ByVal dwMode As Long) As Integer
Public Declare Function GetTransferMode Lib "hs4.dll" (ByRef dwMode As Long) As Integer
这些都出现编译错误:用户定义类型未定义,不知道是什么引用或者部件未定义。求大侠支招
窗体对象如图 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询