Search results for query: *

  1. C

    Question C++ declaration translation help

    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...
  2. C

    c++ DLL call - bad parameter?

    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...
Back
Top