Clamb Posted October 19, 2022 Report Posted October 19, 2022 Hi, I'm on your FSUIPCClientDLL on NuGet version 3.2.22-beta2. Using your MSFSVariableServices_CSharp example, it looks like MSFSVariableServices.IsRunning is always returning true, even when the connection failed, for example when the sim is not running. To my understanding, it should return false in this case. Steps to reproduce: - Close Simulator - Run MSFSVariableServices_CSharp - Click "Start MSFSVariableServices" - Log will show a failed connection - UI will be enabled nonetheless, indicating MSFSVariableServices.IsRunning returned true. Probably this is an issue in the underlying WAPID.dll, but I thought I'll report it here as I can only confirm the bug in your application. Best regards Axel
Paul Henty Posted October 19, 2022 Report Posted October 19, 2022 (edited) Hi Axel, My DLL is just reporting the value from the WAPID.DLL, however I've made a mistake with converting that value into a .NET bool. I'll have a beta for you to test tomorrow. Paul Edited October 19, 2022 by Paul Henty Turns out to be my fault.
Paul Henty Posted October 20, 2022 Report Posted October 20, 2022 New version is now on NuGet (3.2.23-beta). You will need to tick the [show pre-release] box in the NuGet package manager to see this version. IsRunning should now behave properly. I can't test it here so I'd be grateful if you could let me know if works or not. Paul
Clamb Posted October 20, 2022 Author Report Posted October 20, 2022 That was fast, thanks! Will test it tomorrow
Clamb Posted October 20, 2022 Author Report Posted October 20, 2022 Just did a quick test, seems to be fixed. Thanks 🙂
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