RKRA Posted November 5, 2024 Report Posted November 5, 2024 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, 2024 Report Posted November 5, 2024 On 11/5/2024 at 2:36 PM, 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' Expand 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 November 17, 2024 Author Report Posted November 17, 2024 Hi John, Thanks for you reply. I have do the change in my program and it works fine. Kind regards, Reinhard
John Dowson Posted November 17, 2024 Report Posted November 17, 2024 On 11/17/2024 at 10:31 AM, RKRA said: I have do the change in my program and it works fine. Expand 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
John Dowson Posted December 5, 2024 Report Posted December 5, 2024 On 11/17/2024 at 10:31 AM, RKRA said: I have do the change in my program and it works fine. Expand Could you send me or attach the update files (presumably FSUIPCuser64.lib, UIPCHello.c and UIPChello64.exe) and I will include them in the next release. Saves me some time having to look into this...thanks. John
John Dowson Posted December 11, 2024 Report Posted December 11, 2024 On 12/5/2024 at 12:17 PM, John Dowson said: Could you send me or attach the update files (presumably FSUIPCuser64.lib, UIPCHello.c and UIPChello64.exe) and I will include them in the next release. Saves me some time having to look into this...thanks. Expand I have rebuild this now with VS2022 and it will be updated in the next 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