Jump to content
The simFlight Network Forums

MSFSVariableServices.IsRunning always returning true


Clamb

Recommended Posts

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

Link to comment
Share on other sites

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

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.