Jump to content
The simFlight Network Forums

Recommended Posts

Hi Paul,

I would like to print those offsets (P62/70)

6010
6018
6020
6030
6048
6078
6081
608C
6094
60A4
60E4
60E8
60EC
61A0

offsets but I have no idea what type of offset is (string, integer, Int32, Short, etc..)

  Dim gps_distance As Offset(Of Integer) = New Offset(Of Integer)(&H60EC)

for in the future don't ask how to declare offsets

this is for this topic :

Thanks

Regards Fred

Share this post


Link to post
Share on other sites

Hi Fred,

There is a table in the UserGuide.pdf that tells you how to work out which VB Types to use. This is in the 2.4 download package found here:

http://forum.simflight.com/topic/74848-fsuipc-client-dll-for-net-version-24/

See page 6.

For the offsets you listed:

If they are 8 Bytes and the description says "floating point double" then declare them (Of Double).

If the description says string then declare as string and set the stated size: e.g. for 60A4:

Dim gps_nextWaypoint As Offset(Of String) = New Offset(Of String)(&H60A4, 6)

4 byte (32-bit) integers are (Of Integer).

2 byte (16-bit) Integers are (Of Short).

Paul

Share this post


Link to post
Share on other sites

Hi Paul,

Thanks I need to read again... p6

issues with

FSUIPCConnection.Open()
FSUIPCConnection.AirportsDatabase.Load()

Seems to lock my app simple form with correct way to connect and watch and catch ex

Two versions of RC7 in the forums

1) give me errors

2) No errors but nothing in db airports

Regards Fred

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

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.