call dll in VS2005
Hi all,
How can I call/load/register ag8614x_32.dll in VS2005 ?
Error msg: Unable to load C:\WINDOWS\system32\ag8614x_32.dll
'*** Fucntion call ****
errStatus = ag8614x_init("GPIB0::23::INSTR", 0, 1, vi)
'*** Declare ****
Declare Function ag8614x_init Lib "C:\WINDOWS\system32\ag8614x_32.dll" _
(ByVal resourceName As String, _
ByVal IDQuery As Integer, _
ByVal resetDevice As Integer, _
ByVal instrumentHandle As Long) As Long
|