O.P. RE: Interop.GetCallbackPtr
Okay I got it working
But I get a warning..
Bad calling convention detected for .......... The function must be declared with __stdcall and called with the appropriate number of parameter.
My function is defined as:
extern "C" _declspec(dllexport)int Test(int* test);
if i change it to
extern "C" _declspec(dllexport)int __stdcall Test(int* test);
then it says the function could not be found!
How do I fix that?
thanks
|