Jump to content
The simFlight Network Forums

Recommended Posts

Posted

:?: I have created a VB program that reads various data from FS via FSUIPC (3.45), this works fine for offsets upto and including Hex6000 (FS2004 GPS data). However, whenever I read data beyond this area, e.g. C00C (weather dynamics) or E000 (AI ground traffic), the returned values are always zero.

If I use FSInterrogate to look at these offsets there is definitely non-zero data present. Why can I get correct data for most offsets but not for C00C onwards (which are mostly (?) FS2004 specific data)?

Thanks in anticipation.

Brian

Posted

Hi,

try to add the char "&" behind those HEX values. Example: &HC000&. This should work fine. The problem is that VB thinks that &HC000 is a negative integer value. Using "&" will force a Long value in VB.

Hope this helps

Thomas

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
×
×
  • 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.