Jump to content
The simFlight Network Forums

eilert

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by eilert

  1. Sorry.. NOT google earth, but flight sim commander... case anyone wondered... :oops:
  2. Hi. Thank you for the answer, Yes I have widefs up and runing, Im normaly using it for google earth, so everything is setup correct. The program is using only offset reading, But Now I know that it should work, so I will check everyting again. thank you tore
  3. Hi. Have been toying around with fsuipc sdk, and with a little forum help, it's now working fine, Have tried to run tis prog, on a machine set up with widefs, but i dont get any data.. Is this at all possible, or must this kind of programs run on the fsuipc computer ?? tore
  4. Hi Here is the code. Dim dwResult As Long Dim fs_speed As Long Dim fs_gear As Long Dim fs_alt As Double Dim alt_tmp As Double Dim speed_int As Long Dim booResult As Boolean 'read gear booResult = FSUIPC_Read(&HBE8, 4, VarPtr(fs_gear), dwResult) 'Read Speed booResult = FSUIPC_Read(&H2B8, 4, VarPtr(fs_speed), dwResult) 'Read Altitude booResult = FSUIPC_Read(&HB4C, 4, VarPtr(fs_alt), dwResult) booResult = FSUIPC_Process(dwResult) 'Action section Label5.Caption = fs_gear 'printer ut Gear statur Label4.Caption = fs_speed \ 128 alt_tmp = fs_alt * 3.2 'gir resultat i feet Label6.Caption = alt_tmp End Sub
  5. Hi. Sorry about this, can see its been posted before, but I can't find the answer so.. Trying to get the altitude reading from VB6.0, other things are working fine, but the alt reading is totality wrong. I have tried currency, and double variables, same problem has anyone a solution on this problem.. best tore eilertsen
×
×
  • 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.