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

Please sign in to comment

You will be able to leave a comment after signing in



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.