0
我同時使用dllimport的Attempted to read or write protected memory. This is often an indication that other memory is corrupt
DLL導入破壞內存
private const string dir2 = @"C:\NBioBSP.dll";
[System.Runtime.InteropServices.DllImport(dir2, SetLastError = true, CallingConvention = System.Runtime.InteropServices.CallingConvention.Cdecl)]
public static extern uint NBioAPI_FreeFIRHandle(IntPtr hHandle, IntPtr hFIR);
我這樣稱呼它
uint resultado = NBioAPI_FreeFIRHandle(handle, handle);
任何人都知道這個問題可以
你從哪裏得到'handle'? – Patashu