This is an article and a demonstration program for programmers.
This article describes the correct way to create a Windows application that uses SimConnect functions as C++ classes. "The correct way" involves the creation of a multi-threaded application with the exchange events between the main and working threads and encapsulation of the client thread, functions and structures of the SimConnect library in C++ classes.
Paying attention to points of principle, the process of creation client application is described. Detailed comments are presents.
The executable file absents in the archive due to license restrictions. You can build it from the source code. There is a project for Visual Studio 2010 in attached archive.
The author will be grateful for the any feedback of any discussion.
This article describes the correct way to create a Windows application that uses SimConnect functions as C++ classes. "The correct way" involves the creation of a multi-threaded application with the exchange events between the main and working threads and encapsulation of the client thread, functions and structures of the SimConnect library in C++ classes.
Paying attention to points of principle, the process of creation client application is described. Detailed comments are presents.
The executable file absents in the archive due to license restrictions. You can build it from the source code. There is a project for Visual Studio 2010 in attached archive.
The author will be grateful for the any feedback of any discussion.