• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Compilers

Messages
11
For the C/C++ developers out there, what compilers are you using? I keep getting all kinds of errors from SimConnect.h. I gave up on Dev-C++ and Visual C++ 6.0, so now I'm downloading Visual C++ 2008 Express and hoping that it will work...
 
The SDK docs say you need - VC 2005 - 6 will not work.

"To build SimConnect add-ons, you must use Visual Studio 2005 or later, or Visual C++ 2005 Express Edition or later"

With Express you don't get MFC. But that should not stop you from building exe's or dll's. BTW 2005 Express should be a free download.
 
Last edited:
When in Rome....

If you are developing for MS stuff, you will find it is best to use their compiler.

Frankly, once you get use to Visual Studio, you won't want to use anything else anyway unless you are programming for Unix systems.

In addition to Visual Studio, I would highly recommend Visual Assist X by Whole Tomato. You can try it free for 3 days.

Patrick
 
I like to use open source stuff, but I must confess that I love the newer releases of Visual Studio and Visual C++. It was a great idea to release these "express" versions as freeware and not something I would expect from Microsoft.

BTW, I was able to get the code to compile in Visual C++ 9.0 Express no problem. Does anyone know why it won't compile in earlier versions? Perhaps SimConnect's API is using the .NET library?
 
I a was able to get the SimConnect samples to compile in VS.net 2003, or at least every sample I tried. The only thing I had to do was play a copy of the SimConnect lib into the project directory as it wouldn't link otherwise, whereas if their built under VC++ 2005 Express they seem to find it wherever is is.

Si
 
Si,

To get 2005 express to "find" your simconnect.lib and simconnt.h - you need to add the include (inc) and library (lib) directories.

right click on you project - properties - open the C/C++ tree and see:

Additional include directories

for .h files.

Press the three dots and browse to the SDK inc directory.

open up the Linker tree for the:

Additional Library directories

Press the three dots for the SDK lib directory.

MS omitted that Gem.

HTH
 
Last edited:
It will work with Visual Studio .net (2003) as well. They just want you to use the newer ones. :P

I do everything with C++ in VS.net and it works just fine. Other than the property boxes looking different than in the screenshots, the setup is the same and will still work.
 
Back
Top