Hi Everyone
How to convert from " long &n" in C++ by System.IntPtr n.
Error.
I have "MyDll" c++ with function :
IsFileOfType(char *st, long &n);
I want to use this Function in C#.
....
I use DllImport Function to load my dll.
My code:
[DllImport("MyDll.dll")]
public extern static bool isFileOfType(string str, System.IntPtr n);
But not true.
please tell me Why.
thank you.