Jump to content
The simFlight Network Forums

FS Crash with FSUIPC vs VFSUIPC & WideFS


Recommended Posts

I am in the progress of writing and ACARS program (what a task!) and I have a question.

If my application is running directly on the flight sim PC and the flight sim crashes (or my application loses connection), my application catches the exception and displays a warning i.e. Lost connection with your fight simulator...

However, if the flight sim crashes and my application is running via widefs on a secondary PC, this doesn't happen as widefs is still running.

Is there an offset that I can monitor for widefs to see if it is still connected to the flight sim or do you have any other ideas on how to go about this?

Link to comment
Share on other sites

Hi Pete,

Thanks for the quick response.

If I understand correctly, I would create a variable with the previous value of 337E and basically have a timer (with a reasonable period of time) that would compare the previous value to the current one.

The current value should always be greater than the previous one. If it isn't, basically I would have my application prompt the pilot to check his connection to the flight simulator and either try again or quit.

Am I understanding the use of the 337E offset?

Link to comment
Share on other sites

11 minutes ago, CXA001 said:

The current value should always be greater than the previous one.

No, just different. It count cycle around once the value reaches capacity. The only thing to see is that is is changing. If it isn't for a while, the connection isn't currently operative (though of course it may reconnect).



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.