
In your %USERPROFILE%\Documents\Prepar3D v5 Files folder. Ensure the SimConnect.ini file is placed.While SimConnect interfaces are backwards compatible with legacy 32-bit SimConnects, all new development should be done as a 圆4 solution. Ensure that the Solution Platforms, in Visual Studio 2019 or later, have been set to 64-bit.Pay particular attention to the remarks and working samples for.Confirm that the definition file has been added to the project by checking the.Edit the definition (.def) file so it looks like this (where DLL Project The definition fileĬan be created by selecting Project/Add New Item from the main menu in Visual (by default additional characters are added to these names). This is needed because SimConnectĮxpects the exported names DLLStart and DLLStop to be undecorated Create and add a definition file to the project.Build the application using the function calls described in this document.If SimConnect.lib is not local to your project, ensure its folder path is included in Additional Library Directories (Configuration Properties, Linker, General). Options of the Command Line (see image below). Link to the SimConnect.lib library, by adding SimConnect.lib to the Additional.Ensure the Platform Toolset (Configuration Properties, General) is set to Visual Studio 2019 (v142).Start a new Win32 Project or MFC Application if the For C or C++ add-ons, start a new Win32 Console Application project if the add-on.Add these libraries in the Additional Dependencies field.Potential issues when using SimConnect.libĬ++ projects that import SimConnect.lib will need to also import the following libraries: To build the project make sure you have completed the following steps. To build SimConnect add-ons, you must use Visual Studio 2019 or later.
