OwenM Posted April 16, 2020 Report Posted April 16, 2020 Hi to you both I have been writing some software using Delphi ( I now that is not something you are familiar with ) and I have it mostly working. Using wideclient I am able to access all sorts of the data by referencing the offsets. I have Air Speeds and Navigation Data all coming across nicely. My question is this. The data under Offset 3130, 313C, 3148 and 3160 is causing me trouble as I can not figure out what data type it is. I would have thought it must have been a string format But I cant make that work. I realise this is a bit of a weird question but If I can figure out what it is I can convert it to string. Cheers Keep up the good work Your Wideclient system is great. Owen
Pete Dowson Posted April 16, 2020 Report Posted April 16, 2020 36 minutes ago, OwenM said: My question is this. The data under Offset 3130, 313C, 3148 and 3160 is causing me trouble as I can not figure out what data type it is. I would have thought it must have been a string format But I cant make that work. As it states in the offsets list PDF they ARE strings. They are plain ordinary ASCII strings, as supplied by SimConnect. Maybe you are trying to access them as Unicode or Wide character. ASCII uses one byte per character, e.g. A-Z are 0x41-0x5A, space is 0x20, and 0-9 are 0x30 - 0x39. All strings in the Offset interface are ASCII. Pete
OwenM Posted April 16, 2020 Author Report Posted April 16, 2020 Thank you. You get focused on something and then not see the wood for the trees. Its all working now . So thank you again
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