Shadows
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by Shadows
-
-
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
FSUIPC4 with VB6
in FSUIPC Support Pete Dowson Modules
Posted
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.