Dear all,
hopefully someone can provide some assistance , I'm just starting to wrote code to access FS data via FSUIPC so apologies in advance if the anwser to this is obvious.
I'm trying to access FS2002 data using FSUIPC from an application written using Borland C++ Builder.
I've been able to succesfully access data such as ASI , ALT, VSI, Compass and ADF however I have not been able to produce any meaniful results from HDG. ( i have not tried anything else yet).
I'm using FSUIPC v 3.212
Any advice would be appreciated.
regards
Gilles.
The following is a snippet of my code:
double hdg;
// - code removed for clarity.
FSUIPC_Read(0x580, 4, &hdg, &dwResult);
FSUIPC_Process(&dwResult); // Process the request(s)
// Process Heading
hdg=hdg*360/(65536*65536);
AnsiString sHdg=hdg;
RawData->eDG->Text=sHdg; // Send to Editbox for viewing.