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

missing fsx visuals

Messages
76
Hi everyone - one of my testers is telling me that a series of C-gauges all packed into one DLL is missing all of the textures. I had him take a picture of the windows (three of them) and they look to me exactly as a test where I removed the DLL from the FSX\gauges directory. In that case, all you see is the dark gray background on the window itself. I use the same exact dll and I see everything fine, as do other testers. I'm at a loss as to what to do or advise. The tester swears that the dll is in the gauges folder. Any ideas?
 
Have you sent him a newer download? Sometimes a download will go corrupt, but still be open-able.

Just a humble thought.



Bill
 
Sounds like your tester is missing a library file that your gauge is dependent upon. (msvcr80.dll, or the like.)
Tester may need to (re-)install the correct version of the run time libraries.

Doug
 
I'll bet that's the issue. Do they also need vcredist_86.exe for DLLs?

Depends how you compile them.
Go to Configuration Properties -> C/C++ -> Code Generation
Change the Runtime Library option to /MT.

That will avoid run time library dependencies altogether.

Doug
 
Last edited:
I am tester

I think I am the tester spoken of. I uninstalled all versions of Visual Studio Runtime files and installed vc-redist that Geoff sent me and still can't see switches. He sent me one compiled sample with only one switch included and I did see that one on top of the background window, but then he added a couple more bitmaps to the gauge and all went back to background only. I installed the same on a different computer and can't see the switches and the bitmaps in the gauge either.
 
Is the gauge making use of SimConnect? It isn't necessarily just the MSVC libraries that could be causing a problem.

Doug
 
Yes, the gauge does use SimConnect. Strange thing is two of us see all the gauges and the other two may or may not see the same gauges. But the visibility of the gauges (or lack) shows up in FS Panel Studio. I don't know if FSPS would be affected by anything other than graphics would it?

Yesterday, I tried using VS2010 IDE to make the gauge and failed miserably. Then I used Bill Learning's excellent tutorial and got the gauges to show up (using /MT). But alas, the same results - 2 of us can see them and 2 can't.

I'm thinking the next test would be to strip out all the non-graphical code (ie SimConnect calls, ) just leaving the bare-bones graphics for the gauges and see if that changes things.
 
I don't know if FSPS would be affected by anything other than graphics would it?

If FSPS is configured to resolve gauge .dll dependencies, and it can't, then the gauge will not show up in FS Panel Studio.

Are your testers sure they have the right version of SimConnect installed on their systems.
SimConnect is very much version dependent, hence the requirement for a manifest.

Doug
 
Ack! this is more nefarious than I ever predicted. I created a whole new project put in three gauges with nothing more than the most basic structures, and same result. No SimConnect at all. Only the default VS2010 libraries. Could there be an issue with the bitmaps themselves? I noticed that they are indexed and 1 layer. Could that be a cause?

Edit: OMG - changing the .bmps to RGB mode made the difference. The SDK has them all as indexed. But this is just straight gauges, wait till I add the guts....

Edit again: No it didn't - the /MT in compilation is what did the trick in the previous build.
 
Last edited:
So in trying to figure this out I did a bunch of changes and - I could no longer see the gauges. It turns out if I use the 60905 version of the SimConnect.dll I see the gauges in FSPS. If I use the 61259 I do not. I checked both winSxS folders and the correct simconnect.dll is in both. What the heck is going on??? Any ideas? Could there be a registry problem?
 
Well, I kind of guess that maybe this thread should be moved into SimConnect. The solution it turns out is that although all of my testers have all three simconnect.dlls, apparently only the middle seems to work for everyone. Since I'm using /MT and linking against the static simconnect.lib, I'm not sure even why the dlls are necessary on the user's machines. Nonetheless, it works. Interesting to note that Dodosim also uses the middle simconnect.

Wow. Never would have guessed when this first started out it would be a versioning problem. Hopefully it is solved for eternity.
 
...Since I'm using /MT and linking against the static simconnect.lib, I'm not sure even why the dlls are necessary on the user's machines...

I appear to have misled you somewhat. The use of the /MT linker option only affects the Microsoft runtime libraries, not any other libraries you are linking to.
Your discovery is nevertheless interesting. I've compiled a couple of projects against version 10.0.61259.0 of SimConnect, without any complaints.

Doug
 
I am really quite surprised that it seems that some users cannot use some of the simconnect.dlls - even though they are all present.

An interesting side note is that the two of us that have no problem with the 259 version is that we both installed the "Gold" version of FS-X. Is there, perhaps, some magic at work because of that versus doing the original "upgrade" to acceleration?

And then there is the question of why I can't use the 609 version. Yikes!

Oh, well, at least now I can move forward...
 
Back
Top