- Messages
- 12
- Country

Hi all,
I have an issue with flight loading via SimConnect. I have regular SimConnect client build as DLL, handling the SimConnect session and gauges for the aircraft. It's built as singleton (if this is important), so all works just fine except "FlightLoaded" subscription. First at all this event will not be triggered somehow, although my client subscribed to it. To fix this I ended up counting SimStart/SimStop events (to ensure flight is loaded and started) and requesting "FlightLoaded" system state, catching this "system state" event containg reference to loaded flight file (flt). But instead of the loaded flight it gives me the name previous flight (I believe it will be created automatically be the sim on open screen etc.) If I try to load my flight again or just reset the situation, the sim gets my flight file that I expected before. Any ideas what is going wrong (before I start to log any particular package sent to SimConnect)?
FSX + SP2 (but I have a feeling it behaves same in other versions too).
Thank you!
I have an issue with flight loading via SimConnect. I have regular SimConnect client build as DLL, handling the SimConnect session and gauges for the aircraft. It's built as singleton (if this is important), so all works just fine except "FlightLoaded" subscription. First at all this event will not be triggered somehow, although my client subscribed to it. To fix this I ended up counting SimStart/SimStop events (to ensure flight is loaded and started) and requesting "FlightLoaded" system state, catching this "system state" event containg reference to loaded flight file (flt). But instead of the loaded flight it gives me the name previous flight (I believe it will be created automatically be the sim on open screen etc.) If I try to load my flight again or just reset the situation, the sim gets my flight file that I expected before. Any ideas what is going wrong (before I start to log any particular package sent to SimConnect)?
FSX + SP2 (but I have a feeling it behaves same in other versions too).
Thank you!

