我在使用 dllimport 时收到此错误Attempted to read or write protected memory. This is often an indication that other memory is corrupt
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);
任何人都知道问题可能是什么