i've compiled it, and i
VB Code:
Private Declare Function Test Lib "cpptest.dll" ()
it says "file not found"
the DLL is in the same directory
thanks
-nabeel
Printable View
i've compiled it, and i
VB Code:
Private Declare Function Test Lib "cpptest.dll" ()
it says "file not found"
the DLL is in the same directory
thanks
-nabeel
no matter, it obviously can't find the dll. I think it only searches in windows\system unless you explicitely specifiy a path.
If it's a function, it needs a return value. Else it's a sub.
how do i specify my path?
because if i put in app.path, it yells at me
TryVB Code:
Private Declare Function Test Lib "C:\path\to\exe\cpptest.dll" ()
yeah he's right