Hi.
We are also using the Light variables, and we are having some problems.
in fact we are using the SimConnect_AddToDataDefinition function.
hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_2,
"Light Strobe","Bool"); //
and to set the variable to "0" or "1" as our hardware need we are using SimConnect_SetDataOnSimObject as in the next line.
SimConnect_SetDataOnSimObject(hSimConnect, DEFINITION_2,SIMCONNECT_OBJECT_ID_USER,0,0,
sizeof(EstructuraDeSalida),&EstructuraDeSalida);
This are working well in most of the Light variables like in Strobe, Nav, Panel, Cabin etc, Less in the Taxi variable.
if I try to set the Taxi variable to any value I have also the same problem. Exception = 20
Do you know what coul be the problem??
Thanks
Manuel