Jump to content
The simFlight Network Forums

FSUIPC SDK


Recommended Posts

Hi,

I use the FSUIPC 6.201 with P3Dv5.

I downloaded the FSUIPC SDK  (November 1st 2024).

I try the UIPC64_SDK_C_version2.

The exe file works fine.

I my 'simconnect' program, I insert the 'FSUIPC_open' code from the your 'UIPCHello.c' file.

I can not use your 'FSUIPCuser64.lib' library because I use Visual Studio 2022 and the compiler who generate your library is not the same as the compiler in Visual Studio 2022.

So, I include in my 'simconnect' program your source file from 'Lib64_source.zip'.

When I start P3Dv5 and my 'simconnect' program, I can see that I use 'FSUIPC Version = 6.201'.

But for the type of FS, I see 'Sim is Unknown FS'

I thing you forgot to update the line 33 'static char *pFS[] = { "FS98", "FS2000", "CFS2", "CFS1", "Fly!", "FS2002", "FS2004" };  // Change made 060603'

and the line 53 '(FSUIPC_FS_Version && (FSUIPC_FS_Version <= 7)) ? pFS[FSUIPC_FS_Version - 1] : "Unknown FS", // Change made 060603'

At the end of the line 33 could you please add the string for the other FS like described in the 'FSUIPC_User64.h' and in line 53 change the '7' in 'the number of FS type'

 

Kind regards,

Reinhard

 

 

Link to comment
Share on other sites

3 minutes ago, RKRA said:

At the end of the line 33 could you please add the string for the other FS like described in the 'FSUIPC_User64.h' and in line 53 change the '7' in 'the number of FS type'

Can you not change this yourself if building from source? Looks like it needs the following added: FSX, P3Dv3-6, MSFS2020 (and soon MSFS20204!).

I guess I can/should also change this and also maybe rebuild the lib with VS2022. I have been reluctant to do this up until now - I will take a look at some point, but for now you can just update for your needs, or just leave it as unknown - I don't think this matters that much, just for logging purposes I think...

John

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.