Jump to content
The simFlight Network Forums

VB Gurus Please Help...


Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.