VB如何调用.DLL文件里的函数?
VB如何调用.DLL文件里的函数?各位高手帮帮忙。比如有一个.DLL文件,同时有一个.BAS文件给出.DLL文件里的函数定义,怎么调用里面的函数?
最好有具体的例子,谢谢各位啊!
部分.BAS里定义的函数:
Public Declare Function GT_Axis Lib "gt400.dll" (ByVal axis As Integer) As Integer
Public Declare Function GT_AxisOff Lib "gt400.dll" () As Integer
Public Declare Function GT_AxisOn Lib "gt400.dll" () As Integer
Public Declare Function GT_BrkOff Lib "gt400.dll" () As Integer
Public Declare Function GT_CaptHome Lib "gt400.dll" () As Integer