C
Chris
Hi,
I am doing PInvoke-calls from managed C#code to unmanaged API toolhelp.dll.
The code I use to make the functions visible in .NET is the following:
[DllImport("toolhelp.dll")]
public static IntPtr CreateToolhelp32Snapshot(int flags,int procID);
this code is called further down in a differend method of the same class:
IntPtr processhandle = CreateToolhelp32Snapshot(0x00000002,0);
Being executed with CE.NET 4.2-Emulator, an error: MissingMethodException is
returned.
But executing the SAME code on PocketPC-emulator, everything works fine!
So: what is the issue!?
Please send me your comments!!
kind regars
Chris
I am doing PInvoke-calls from managed C#code to unmanaged API toolhelp.dll.
The code I use to make the functions visible in .NET is the following:
[DllImport("toolhelp.dll")]
public static IntPtr CreateToolhelp32Snapshot(int flags,int procID);
this code is called further down in a differend method of the same class:
IntPtr processhandle = CreateToolhelp32Snapshot(0x00000002,0);
Being executed with CE.NET 4.2-Emulator, an error: MissingMethodException is
returned.
But executing the SAME code on PocketPC-emulator, everything works fine!
So: what is the issue!?
Please send me your comments!!
kind regars
Chris