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

Gauge not working on XP

Messages
531
Country
france
Hello,

I use Microsoft Visual C++ 2010 to create my gauges. I use Windows 7 for years and everything is fine.
A friend of mine tried to use one of my gauges with FS2004 and Windows XP. Bad surprise, it didn't work. fs9 says it cannot load the gauge (in the aircraft selection screen).

I have an old machine with XP, I tested and got the same result: it didn't load. A long time ago, when I had Windows XP, all my gauges were created using Visual C++ 2003. With VC 2010, it seems my generated gauges cannot work with XP any more. I look into all the compilation and linker options but couldn't find why it doesn't work, there is nothing specific to Windows 7 or 64-bit system (the target is still X86, which should work for 32-bit and 64-bit OS).

Please let me know if you have any idea.

Thanks,
Eric
 

ddawson

Resource contributor
Messages
862
Country
canada
I'm guessing one of the Windows API functions you've called isn't supported by XP.
 
Messages
531
Country
france
My gauges usually use very few Windows API calls. This gauge uses FSUIPC but again, the use of FSUIPC library does not cause a use of specific Windows API calls.
Nevertheless, I will check my code for this, who knows...

Thanks for the tip :)
Eric
 
Messages
531
Country
france
There was a call to SetWindowsHookEx. According to Microsoft documentation, this may cause a compatibility problem. I removed this call (it was useless anyway) but it didn't solve the problem.
I also removed most of the libs in the linking options, but the problem is still there...
 
Messages
64
Country
unitedkingdom
Check that they have the Visual Studio Runtime distributables installed. Fairly confident that if it's not your code causing the problem, it would be that.
 
Messages
2,077
Country
us-ohio
Run a dependency checker on the system that is unable to load the gauge.
 
Top