I had this working on FSX but since I migrated to P3D it stopped doing it.
As title says the problem is I the connection is closed as soon as it's established.
I have my own implementation but to discard any mistake I can be doing I use the example that comes with the PMDG NGX addon.
This is the main loop:
Code: Select all
while( quit == 0 )
{
// receive and process the NGX data
SimConnect_CallDispatch(hSimConnect, MyDispatchProc, NULL);
Sleep(1);
}
I don't have idea why tho, as I said few years ago I had this working on FSX SP2.
I'm using Prepar3D v4, SimConnect headers and .lib are from its SDK
I'm not really familiar with the SimConnect API, not sure how can I add some extra debug.
Please if there is anything you think it's worth to try let me know, I'm totally frustrated :/
Thanks!