RKRA Posted November 5 Report Posted November 5 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
John Dowson Posted November 5 Report Posted November 5 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
RKRA Posted Sunday at 10:31 AM Author Report Posted Sunday at 10:31 AM Hi John, Thanks for you reply. I have do the change in my program and it works fine. Kind regards, Reinhard
John Dowson Posted Sunday at 12:33 PM Report Posted Sunday at 12:33 PM 1 hour ago, RKRA said: I have do the change in my program and it works fine. Ok - thanks for the update. This SDK lib is very old and does need updating to include the various P3D versions as well as MSFS2020 and MSFS2024, and compiled with VS2022. I will do this at some point when I get a chance, hopefully with the MSFS2024 release,... John
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now