Frédéric-O DUCHEMIN Posted February 19, 2018 Report Posted February 19, 2018 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
Paul Henty Posted February 19, 2018 Report Posted February 19, 2018 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
Frédéric-O DUCHEMIN Posted February 19, 2018 Author Report Posted February 19, 2018 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now