C
compboy
when I did P/Invoke-calls(CreateToolhelp32Snapshot function) from managed
Csharp code to unmanaged api toolhelp.dll, there is a error prompt:
---code------
[DllImport("Toolhelp")]
public static extern IntPtr CreateToolhelp32Snapshot(int flags, int
procID);
¡¡
¡¡
IntPtr h = CoreLibMem.CreateToolhelp32Snapshot(0x00000002,0);
¡¡
----error prompt----
unsettled¡°System.MissingMethodException¡± error returned in MemoryDll.dll.
Csharp code to unmanaged api toolhelp.dll, there is a error prompt:
---code------
[DllImport("Toolhelp")]
public static extern IntPtr CreateToolhelp32Snapshot(int flags, int
procID);
¡¡
¡¡
IntPtr h = CoreLibMem.CreateToolhelp32Snapshot(0x00000002,0);
¡¡
----error prompt----
unsettled¡°System.MissingMethodException¡± error returned in MemoryDll.dll.