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

Help!!! Problems loading my own gauges on other Pc's

Messages
6
Hi! I Hope all of you wise gurus can help me.
I'm a rookie programming on C++ and i've started with Visual C 2008, guided by the excellent VC Express tutorials. Well, I made some gauges and joined together in one and after a some troubles, everything was going well, the gauges works well in my machine. However when i installed the gauge on another PC's, the FS9 sends an error, saying that it was unable to load this software and it will be disabled.
I've tried different settings on the project properties, however the result is the same. This as always, should be a really sealy thing, but for a newbie, it is really a headache.
It Seems the gauge would require some libraries or DLL that are installed together with the Windows Platform SDK or the Visual C and of course in PC's without these programs, the FS is unable to load this gauge. But this is just a guess.

By the way...sorry for my rusty english and i want to thank to all you, i've learned too much from you guys.

Thanks
Mauricio
 
See my thread below entitled: "Using execute_calculator_code() to transfer L vars between C and XML"

I had the same problem that I thought was in my code but turned out to be that same problem, but it was only missing a few libs.

Set your project to link library dependencies, and add these to your linker lib dependencies:

kernel32.lib
user32.lib
gdi32.lib
winspool.lib
comdlg32.lib
advapi32.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
odbc32.lib
odbccp32.lib

I don't know if all are needed but it solves the problems. Or you can get the other party to install the VS 2008 redistributable run-times. (Downloadable and freely distributable.)

Si

Edit: forgot to add:

Set "Use of MFC" to "Use MFC in a Static Library"
 
Last edited:
Si:
I owe you one, thank you very much, it works!!!.

Shame with me....i knew that have seen something related to this, but i couldn't find it. Well, next time, i will go deeply in other posts.

Thank you again Si.

Mauricio
 
Back
Top