Hey, i was about to test the new FacilityData feature in the SDK 10B with the
managed SimConnect DLL but I get a code exception when requesting the data, no
SimConnect_Exception code is thrown. SimConnect-Debug console: [321,
2]AddToFacilityDefiniation:DefineID=1, FieldName=“OPEN AIRPORT” [321,
3]AddToFacilityDefiniation:DefineID=1, FieldName=“NAME” [321,
4]AddToFacilityDefiniation:DefineID=1, FieldName=“CLOSE AIRPORT” [321,
5]RequestFacilityData:DefineID=1,RequestID=17, ICAO=“LFPG”, Region=“” Visual
Studio console: Ausnahme ausgelöst: “System.Exception” in
Microsoft.FlightSimulator.SimConnect.dll Ein Ausnahmefehler des Typs
“System.Exception” ist in Microsoft.FlightSimulator.SimConnect.dll
aufgetreten. no type information! StackTrace: bei
Microsoft.FlightSimulator.SimConnect.SimConnect.MarshalRECVPtrToObject(UInt32
dwID, Void* pData) bei
Microsoft.FlightSimulator.SimConnect.CSignalProcDelegateMarshaler.CallSignalProc(SIMCONNECT_RECV*
pData, UInt32 cbData, Void* pContext) bei SimConnect_CallDispatch(Void* ,
IntPtr , Void* ) bei
Microsoft.FlightSimulator.SimConnect.SimConnect.ReceiveDispatch(SignalProcDelegate
pfcnSignal) bei Managed_AI_Waypoints.AI_Waypoints.DefWndProc(Message& m) in
D:\Daten\Development Data\MSFS\Airport Data\AI_Waypoints.cs: Zeile66 bei
System.Windows.Forms.Control.WndProc(Message& m) bei
System.Windows.Forms.Form.WndProc(Message& m) bei
System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam) bei
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData) bei
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context) bei
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context) bei Managed_AI_Waypoints.Program.Main() in
D:\Daten\Development Data\MSFS\Airport Data\Program.cs: Zeile20 Sample:
https://1drv.ms/u/s!AqjmyvgAhMkBn6hZ-U8N3960koEvHg?e=bNJVA0
Anyone able to replicate?