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

Please sign in to comment

You will be able to leave a comment after signing in



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.