Jump to content
The simFlight Network Forums

SimConnect Samples Problem


Recommended Posts

While waiting for an MFS release that accommodates FSUIP7 without slowing down, I thought I'd try out the SimConnect examples in the SDK. However, when I load a vanilla project, say OpenClose into Visual Studio and try to build it I immediately get "Cannot open include file: 'SimConnect.h': No such file or directory."

No problem, I point to it explicitly with the path to the include file in the SDK. Then I get "LNK1104 cannot open file 'SimConnect.lib'", even though it looks like the path to the library folder is being included in the project properties. 

No problem, I copied the lib directly into the OpenClose project directory. Now I get "MSB3073 The command "xcopy /D /Y "Simconnect SDK\lib\SimConect.dll" .... I won't copy the entire error message - something to do with the dll.

I futzsed around a bit more, moving the dll into the target build folder, etc.,  then gave up. 

Anybody actually get one of these unmanaged SimConnectSamples to run? How?

Respectfully, Dave

Link to comment
Share on other sites

Hi Dave,

sorry, but this is not a general forum for MSFS issues, only for those relating to FSUIPC. You should try the MSFS forums.

Having said that, it sounds like you haven't specified the correct path to the SimConnect.lib in your build properties. It has to be the folder that contains the SimConnect.lib, not the SDK top-level folder or other folders.

Note also, that there are now two SimConnect.lib files. I recommend you link against the one under the 'static' folder, as when using this you do not require the SimConnect.dll at runtime. 


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.