Jump to content
The simFlight Network Forums

Shadows

Members
  • Posts

    2
  • Joined

  • Last visited

About Shadows

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://

Shadows's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. This is the code that I'm using, like I said, I've just modified the example that came with it, and that number is what was in the messagebox. Dim smith() As Byte ReDim smith(5) Dim dwResult As Long If FSUIPC_Read(&H350, 5, VarPtr(smith(1)), dwResult) Then If FSUIPC_Process(dwResult) Then res = smith(1) & smith(2) & smith(3) & smith(4) & smith(5) MsgBox res End If End If
  2. Hello, I'm trying to make to use a VB6 program to interface with FS, and be able to set some auto pilot controls. Such as the Nav frequencies, IAS, alt and vs. I've worked out how to obtain the values from the sim, and used FSInterrogate2, to work out the address value and what the value is encoded in. For Nav and radio it seems to be in hex minus the one at the begining. This is what it comes out with in FSInterrogate2, and I can work with this quite easy. 0x1030 = 110.30 But when I use the example program in the VB SDK(UIPCHello), This is the value I come out with. 681612822 That is made up of 4 parts in VB. I've tried everything with this number, converted to 16 bit binary first, then to hex, or straight into hex and still I can't get the correct value to display in VB. Any ideas? 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.