SimConnect.lib vs SimConnectDebug.lib

Posts: 3
Joined: Mon Feb 12, 2018 7:58 am

SimConnect.lib vs SimConnectDebug.lib

Postby theleverdk » Thu Oct 11, 2018 5:06 pm


I am trying to link an app using SimConnect. In my debug build, I use SimConnectDebug.lib, and was hoping to use SimConnect.lib in release. In release, however, I get a linker error stating that the library has been built with a different runtime. Are the two versions of the library made with different versions of the runtime? Should I be using the same library in both configurations?


Clifton Crane
Lockheed Martin
Posts: 1057
Joined: Tue Sep 25, 2012 2:34 pm

Re: SimConnect.lib vs SimConnectDebug.lib

Postby Clifton Crane » Thu Oct 11, 2018 9:37 pm

Hi theleverdk,

What project setting do you have in Visual Studio for Configuration Properties > C/C++ > Code Generation? I believe this should be set to Multi-threaded Debug DLL (/MDd).

Clifton Crane
Prepar3D® Software Engineer Sr.

Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 7 guests