Hi,
I'm making a little external DLL.
I remark on data "Flaps", some aircraft like Boeing 747 shows always same value 0.523560 after changing flaps position.
For Airbus A320, it works. It displays different position from 0.0 to 1.0.
For data "Gear", it works no problem, it shows position from 0.0 to 1.0.
Here is my code :
Code
double _fs_gear;
double _fs_flaps;
// ---------------------------------------------------------------------------------------
void AFV_Draw(HDC hDC) ...
_snwprintf_s(&text1[0], 255, _TRUNCATE, L"Gear = %f, Flaps = %f", _fs_gear, _fs_flaps);
graphics.DrawString(&text1[0], -1, &font, Gdiplus::PointF(10, y), &green);
// ---------------------------------------------------------------------------------------
// ---------------------------------------------------------------------------------------
void Aerofly_FS_2_External_DLL_Update(...
.
.
.
}
else if (sh == MessageAircraftGear.GetID()) {
_fs_gear = message.GetDouble();
}
else if (sh == MessageAircraftFlaps.GetID()) {
_fs_flaps = message.GetDouble();
}
...
// ---------------------------------------------------------------------------------------
Display More
Any idea about this problem?
Regards,
Chris.