This project has moved. For the latest updates, please go here.
0

Closed

GUI blocked when trying to open a SimConnect connection to a remote machine

description

When set to connect to a remote machine, SimConnect blocks the userinterface for a quite a while whenever it tries (and fails) to open a SimConnect connection.
Closed Feb 14, 2008 at 8:46 AM by juergentreml
Fixed by isolating the SimConnect connect method in a separate thread and if it succeeds to connect, closing the connection an reopening it from the GUI thread.

This is not a very clean solution and closing and reopening it connection seem kind a weird and an overhead but just isolating it in a separate thread lead to an even stranger behavior with FSXGET not receiving data any more from FSXGET once disconnected and reconnected.

Anyway, not a perfect solution but it works!

comments