Jump to content
The simFlight Network Forums

ranathane

Members
  • Posts

    4
  • Joined

  • Last visited

About ranathane

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://webhandlers.org

ranathane's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Using the FSUIPC Hello vb program in the SDK, I don't seem to have any problems reading any other positions but when i try to read the E000 ranges (i.e. E004 = number used slots) it only returns zero. The code is just added into the existing program after the timer loop: Dim dwResult As Long Dim NumGndTfc As Long If FSUIPC_Read(&HE004, 2, VarPtr(NumGndTfc), dwResult) Then If FSUIPC_Process(dwResult) Then frmMain.lblGroundTraffic.Caption = NumGndTfc & " X" Else ' Unable to "Process" frmMain.lblGroundTraffic.Caption = "Processing: " & ResultText(dwResult) End If Else ' Unable to "Read" frmMain.lblGroundTraffic.Caption = "Reading: " & ResultText(dwResult) End If Now in FSInterrogate it pulls the right data so I know i'm doing something wrong. Using FS2K2 and FSUIPC 3.47 Thanks!
×
×
  • 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.