Jump to content
The simFlight Network Forums

FlightSim Enum


Recommended Posts

Good Morning Paul.

 

First off great DLL, fabulous work on it.

 

My question is related to the FlightSim Enum you have which includes FSX_SE. I am using your DLL v 3.0.5534.8.  The issue I am having is that when you call FSUIPCConnection.FlightSimVersionConnected it will not return FSX_SE while running FSX:SE v 10.0.62608.0 which as of today is the latest I believe.  I am curious why this is?

 

Its not the end of the world if it doesnt work as I can go pull Offset 3308 and 3124 to find out myself if needed but I was hoping your method would return the answer.  It is essential to know which FlightSim is running in the application I am making.

 

Thanks,

Eamonn Watson

Edited by epwatson
Link to comment
Share on other sites

Hi Eamonn,

 

The FSX:SE value in the enum should not be there. When FSX:SE first came out there was some confusion about what product ID FSUIPC should use. For a short time it was reporting as a different product (or maybe even erroneously as ESP). However, Pete decided that FSUIPC should report it as FSX, so that's what my dll will now say. It's just relaying what's in offset 3308. I forgot to remove the enum value.

 

If you want to narrow the version down further then the correct way is to do an additional check of 3124 as you've mentioned.

 

I will be improving the way products and versions are handled by the dll in a future version.

 

Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.