Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Paul,
during the initialization my program reads the FS installation path.

Dim FSInstallationPath As Offset(Of String) = New Offset(Of String)(&H3E00, 256)

After reading the path once I want to disconnect that offset:

FSInstallationPath.Disconnect()

The issue is that it seems that the offset does not get disconnected. The FSUIPC logfiles shows that it is continually reading the offset with each FSUIPCConnection.Process(). I do not do any reconnect in the whole application.

I use the FSUIPC DLL 3.0.5937.1

Kind regards,

Ruediger

Posted

Hi Ruediger,

I've tested the Disconnect() method here and it's working as expected.

After you disconnect the offset, please check the IsConnected() method.

I've attached the latest DLL in case the one you have has a bug. (It's built against the 4.5 framework. If you need a different framework version just let me know.)

If you still have a problem check that the offset is only being created once during the lifetime of your application.

Paul

 

FSUIPCClient3.0_RC1.zip

  • 3 months later...

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.