Can anyone help with this exception? My application connected once and all was well, but now I get this every time. The exception is in response to (managed code):
simHandle = new SimConnect(appName, this.Handle, WM_USER_SIMCONNECT, null, 0);
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SimConnect_Open(Void** , SByte* , HWND__* , UInt32 , Void* , UInt32 )
at Microsoft.FlightSimulator.SimConnect.SimConnect..ctor(String szName, IntPtr hWnd, UInt32 UserEventWin32, WaitHandle hEventHandle, UInt32 ConfigIndex)
Thanks
Simon
simHandle = new SimConnect(appName, this.Handle, WM_USER_SIMCONNECT, null, 0);
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SimConnect_Open(Void** , SByte* , HWND__* , UInt32 , Void* , UInt32 )
at Microsoft.FlightSimulator.SimConnect.SimConnect..ctor(String szName, IntPtr hWnd, UInt32 UserEventWin32, WaitHandle hEventHandle, UInt32 ConfigIndex)
Thanks
Simon
