Delphi Posted April 1, 2016 Report Share Posted April 1, 2016 Hi Paul, my problems seem to find no end. Bit operation does not work with FSUIPC Client DLL anymore. Setting offsets to values works. For years I used the following operation to manipulate bits: Dim PMRecallMomentary As Offset(Of BitArray) = New FSUIPC.Offset(Of BitArray)(&H56F9, 1) PMRecallMomentary.Value.Set(1, True) Worked perfect. Now the bits do not change anymore. For further tests I used a slightly different code, as you propose in your documentation: Dim lights As Offset(Of BitArray) = New FSUIPC.Offset(Of BitArray)(&HD0C, 2) Me.lights.Value(5) = True Also does not work. Tried the followng work-around: Lights.Value = Lights.Value Or (2 ^ x) In that way it works. However, the work-around is not an option, because of to too many required code changes. Environment: - VB 2010 - .Net framework: v4.0.30319 - FSUIPC client DLL version: 3.0.5898.3 I hope you can help me again. Ruediger Link to comment Share on other sites More sharing options...
Paul Henty Posted April 2, 2016 Report Share Posted April 2, 2016 Hi Ruediger, My apologies for this problem, there was a bug in some of the new 3.0 code. I've attached a new version of the DLL. The BitArrays should be working again. Paul Link to comment Share on other sites More sharing options...
Delphi Posted April 2, 2016 Author Report Share Posted April 2, 2016 Hi Paul, many thanks for your fast response. Have a nice weekend, Ruediger Link to comment Share on other sites More sharing options...
Delphi Posted April 3, 2016 Author Report Share Posted April 3, 2016 Hi Paul, the new DLL seems to have an issue. The name space does not get imported. All offset definitions are shown as error in vb.net. Replacing the FSUIPCClient dll with the version form 26.02.2016 the name space is imported. Ruediger Link to comment Share on other sites More sharing options...
Paul Henty Posted April 3, 2016 Report Share Posted April 3, 2016 It looks like that DLL was built against the 4.5 framework instead of 4.0. Correction attached. FSUIPCClient3.0_RC1.zip Link to comment Share on other sites More sharing options...
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