Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I know the AWI offsets are listed in the newest SDK, but I couldn't find any variable sizes for them...is a vb6 "integer" the same thing as "unsigned integer", or would "long" be a better choice?

Similar, how about strings...such as "GLOB" - okay to use VBs "string" variable, or should it be a byte_array?

=

Garen

Posted
I know the AWI offsets are listed in the newest SDK, but I couldn't find any variable sizes for them...is a vb6 "integer" the same thing as "unsigned integer", or would "long" be a better choice?

In C/C++ on a 32-bit PC an integer is 32-bits, as is a long. An unsigned integer is the same size. They have to be "short" to be 16 bit. In modern compilers 64 bit integers are also supported (long long, I think, or in MS compilers _int64).

I don't know VB.

Similar, how about strings...such as "GLOB" - okay to use VBs "string" variable, or should it be a byte_array?

I think VB users have enormous problems with strings, judging from all the questions and problems arising from that subject, so I would think you'd need to keep clear of them altogether. But, again, I don't know VB. I hope a VB expert will help you.

Regards,

Pete

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.