我想编个程序,别人提供了DLL,DLL函数声明如下.请问应用怎样的语句调用他们最好!Enablebox 要反回一个值,应怎样写,本人先谢谢大家了!
Option Explicit'Function Declarations
Declare Function OpenDevice Lib "box.dll" () As Integer
Declare Function CloseDevice Lib "box.dll" () As Integer
Declare Function Enablebox Lib "box.dll" (ByVal level As Integer) As Integer
Declare Function Disablebox Lib "box.dll" () As Integer