Hello!
Could anyone help me with SimConnect_CallDispatch() function and the callback it sends a pointer to? Searching the forum for similar issues didn't helped.
I have a standalone EXE app, it uses Simconnect in order to send and receive miscellaneous data to/from aircraft.
As recommended in SDK documentation, I call SimConnect_CallDispatch() constantly in a 'while()' loop. It always returns S_OK, but actually works only when aircraft is (re-)loaded after this.
I mean my callback function is never called when I start my app, start FSX and connect to Simconnect, but it starts working when I reload the aircraft.
So how can I start working with aircraft data straight away after 1st successful call of SimConnect_Open()?
Thank you in advance.
Could anyone help me with SimConnect_CallDispatch() function and the callback it sends a pointer to? Searching the forum for similar issues didn't helped.
I have a standalone EXE app, it uses Simconnect in order to send and receive miscellaneous data to/from aircraft.
As recommended in SDK documentation, I call SimConnect_CallDispatch() constantly in a 'while()' loop. It always returns S_OK, but actually works only when aircraft is (re-)loaded after this.
I mean my callback function is never called when I start my app, start FSX and connect to Simconnect, but it starts working when I reload the aircraft.
So how can I start working with aircraft data straight away after 1st successful call of SimConnect_Open()?
Thank you in advance.
