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

64 bits Gauge with FSUIPC

Messages
531
Country
france
I am trying to upgrade an existing gauge for P3D v4. This gauge (DLL) used to compile and link perfectly in 32 bits and was operational for FSX and P3D, all versions.
I have just changed the options to generate the DLL in 64 bits and the linker fails with unresolved sympols that are FSUIPC functions. My gauge uses FSUIPC so it is linked with ModuleUser.lib, a lib that comes with FSUIPC. I think it fails here because ModuleUser.lib is a 32 bits library.

Of course, I searched the web for a 64 bits version of ModuleUser.lib, but I couldn't find it... The SDK has not been updated.

For information, I use Visual Studio 2010.

Thanks for any help,
Eric
 
I'm pretty sure that the FSUIPC SDK includes the source code for that library. You could just include the source code rather than the library itself. You could then check to ensure that it was all 64 bit compliant.
 
I'm pretty sure that the FSUIPC SDK includes the source code for that library. You could just include the source code rather than the library itself. You could then check to ensure that it was all 64 bit compliant.
Indeed, but ModuleUser.c contains some asm code that my compiler doesn't like...
 
inline asm is no longer supported in x64 in any VS environment.
 
inline asm is no longer supported in x64 in any VS environment.
Good to know.
In the meantime, Pete Dowson sent me a new version of his ModuleUser source code for 64-bit. I used it successfully in VS2010 but it seems it still doesn't work. I can't test it because I don't have P3D v4.

Eric
 
I now found the solution and I have ported several add-ons for Prepar3D v4 (64 bits). I am currently porting an add-on that uses FSUIPC and everything works fine, it should be ready soon. I also ported EasyFMC, which doesn't require FSUIPC, it will be released soon.
I confirm that Visual Studio 2015 is not mandatory unless you use SimConnect. I don't use it, and I could compile everything with VS2010.
 
Back
Top