Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I am having problems using Bank data. I think this snippet (that works great) shows the Bank and Pitch addresses are switched on Peter's table and this Byte size should be 8 instead of 4 also. Any clarification would be so appreciated:

Dim Fake64Bit As Currency

Dim dwResult As Long

Dim Roll As Double

If FSUIPC_Read(&H578, 8, VarPtr(Fake64Bit), dwResult) Then

If FSUIPC_Process(dwResult) Then

Roll = Fake64Bit * 100#

Roll = Roll * 90# / (1.000175E+07# * 65536# * 65536#)

lblRoll.Caption = Roll

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.