simple question, I import a DLL function and the parameter are int*.
When I try to enter Method(0), I get an error which says: \"int and int* can not convert\".
It depends on the language you use. In C#, you should declare the argument with the "ref" keyword. In VB.NET you should use the ByRef keyword. And you need to call it by passing a variable, not a constant. Something like this:
int retval = 0;
Method(ref retval);
// Do something with retval
//...