Hello all,
I need help with a Declaration call in VB.Net (this time I'll try to get the code tags correct!)
This is the definition in C++:
BYTE WINAPI MyFunction(MyPtrType func,LPVOID pParam);
"pParam" is used in the program via the term "This", which I believe means the current thread...
I need to call a legacy DLL.
Here is the definition of one of the functions (abbreviated):
GetNumber(char *sNumber, int *length); <==returns int
I change it to VB.net:
GetNumber Lib "Foo.dll" (ByVal Number As IntPtr, ByRef Length As Int32) As Int32
'(intent is to return data into...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.