加上public吧,例如:
Public Declare Function dc_read_hex Lib "dcrf32.dll" (ByVal icdev As Long, ByVal adr%, ByVal sdata$) As IntegerPublic Declare Function dc_write Lib "dcrf32.dll" (ByVal icdev As Long, ByVal adr%, ByVal sdata$) As Integer
其他超过技术支持的范畴了,我们也不熟悉你的设备,也没有接触过这样的设备。