
Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Hi Marttis,
Pls check the code as follows. I am getting the error when I am passing
parameters to the native API Function
public int MyFunction(int vi1, int vi2, string vs3, ref int ri4, ref int
rl5) {
return nativeAPIFunction(vi1, vi2, vs3, ref ri4, ref rl5);
}
With regards,
>>Can anyone please help me to resolve this problem ?
>
> Only if you post relevant parts of your code.
>
> Mattias
Mattias Sjögren - 16 Jun 2007 12:42 GMT
>public int MyFunction(int vi1, int vi2, string vs3, ref int ri4, ref int
>rl5) {
> return nativeAPIFunction(vi1, vi2, vs3, ref ri4, ref rl5);
> }
We really need to see the C side too. At least the function signature.
If you have the implementation or working calling code in some other
language that may help as well.
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.