Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi,
Recently I've noticed that FSVersion is returning the string 'Any' instead of MSFS etc.
This is the code I use to extract it:

Dim sSimVersion As String = String.Empty
If bConnectedToFS Then
    Dim fsVer As FsVersion = FSUIPCConnection.FlightSimVersionConnected
    sSimVersion = fsVer.ToString
End If

And the extract from a user's flight log:

Flight Log:
[12:22] - C208B Passengers
[12:22] - FS Type: Any
[12:22] - FSUIPC Version: 7.501

Does any one know why it now reports 'Any'?

Thanks.

Posted

Hi Paul,

Certainly happening for MSFS2020 and possibly 2024. Not all the time though!

Edit: Confirmed happening with 2024 as well. Again, not all the time though.

Further edit: It also reported '14'.
image.png.e830537aeaf33ce5f263260310353bfb.png

image.png

Posted

14 is the value for is MSFS2024. I don't think you're using the latest version of the DLL.

The puzzling thing is that you say it's working sometimes. Do you mean that you sometimes see "MSFS2024 (VX.X)"? If so are these on the same machine or are these reports from different users?

Paul

Posted

Thanks Paul.  I've never seen "MSFS2024 (VX.X)" so that could well be the issue: the release version of my program is using an older version. I have updated it in my development version so I'll just have to put up with it until I can roll out the new version!

Thanks again.

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.