Hi there,
I am sorry if I sound silly asking, but I am trying to receive some critical info from FSUIPC (airspeed, etc.) through a C++ program. I have called FSUIPC_Open and then tried FSUIPC_Read, but the char is null. Is there any chance you can point me in the direction?
This is the code:
char speeds[3];
void launchfsuipc() { DWORD dwCLOSED; DWORD res; if(FSUIPC_Open(SIM_ANY,&dwCLOSED)) { //link ok FSUIPC_Read(0x238, 3, speeds,&res); stringstream ss; ss << speeds[1] << speeds[2] << speeds[3]; MessageBoxA(NULL, ss.str().c_str(), "", MB_OK); } else { //link failed MessageBoxA(NULL, "YO HOMIE I FAILED", "YO", MB_OK); } }[/CODE] Thanks, -- Collin Biedenkapp