No callback sample and the SimConnect_GetNextDispatch function

Hello everyone,

I’m running the no callback sim connect sample from the MSFS SDK to learn about the SimConnect_GetNextDispatch function. For some reason, the SimConnect_GetNextDispatch function is returning E_FAIL and nothing is happening. If you are wondering, I did not modify anything.

Any ideas for why the function is returning E_FAIL? Does the sample work on your end?