• 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.

Can't run Simconnect samples

Messages
45
Country
france
Hi everybody,

I have a PC running XP SP2 with FSX and SDK update 1 and 2 installed. I use visual C++ 2005.

I tried to run the compiled executable samples that come with the SDK - no way - I get an incorrect configuration - reinstall application message. I have recompiled the samples (I have read the post on this forum about the platform issue, mine is win32) and although the compilation and buid is fine, the sample would not run - same problem.

Any help highly welcome !
 
Hi,

Check your event log. Each of those 'configuration incorrect' messages will have a matching eventlog entry, detailing exactly what's missing.

It'll either be the MSVC runtimes (unlikely) or SimConnect itself (more likely). If it's SimConnect, try running SimConnect.msi. Failing that, check around in the forums; this has happened before.

HTH
Jim
 
Hi Jim,

Thanks for the fast answer. Sorry for the dumb question, but can you indicate which event log you are talking about ?

Oliver
 
Problem solved but not fully understood.

I digged a bit in the SDK tree and found that in addition to /inc and /lib folders, I had a /LegacyInterfaces folder containing FSX-RTM and FSX-SP1 folders. In these, there were .dll .lib .h and .msi files. I ran the .msi from FSX-RTM folder that reinstalled simconnect, and I changed the .h and .lib in my project by those in the FSX-RTM folders.

It now works, but what is that tree structures and all these versions ?
 
Hi,

Those files are the older (Legacy) versions of SimConnect. They're provided to allow you to compile against any version of SimConnect you want to. Otherwise, you would only be able to compile for the version you have installed. Normally you can assume that everyone has RTM (at least), but possibly nothing newer, so if you were to compile your code with the Acceleration version of SimConnect it wouldn't work with anything but Acceleration but compiling it for RTM should work everywhere because an older version of SimConnect should be able to work with newer versions of FSX.

The .lib you link to will expect to find a single version of SimConnect.dll; it won't work with any other, and that's what generates the error messages you got. There are ways of writing your app to link to any available version of SimConnect, but it's a little more tricky.

The Event Log can be found by right-clicking on "My Computer" and selecting "Manage" - the event viewer should be one of the items on the left. I don't have one of those errors handy, but I think they appear as "Side by side error" or similar.

Cheers,
Jim
 
Thanks for the explanation Jim,

I did'nt get that the event log was the system log, I thought it was FSX related.

I had a Simconnect version problem. I have one french version of FSX and one english version. I installed the SDK from the english version, while I had installed FSX from the French version. I de-installed the SDK and reinstalled it from my French version disk. It works now perfectly.

Thanks again for your help

Oliver
 
Back
Top