In my managed code app, I try to set the altitude pressure using the KOHLSMAN_SET event
using
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_EFIS_CPT_BARO, "KOHLSMAN_SET");
and then
SimConnect_TransmitClientEvent(hSimConnect, 0, EVENT_EFIS_CPT_BARO, val, SIMCONNECT_GROUP_PRIORITY_HIGHEST, SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY);
but there are no changes in the sim
I have tried with val in millibars and in inHg ( i.e.1013 and 29.92), but no luck
Can't figure out what I am doing wrong
using
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_EFIS_CPT_BARO, "KOHLSMAN_SET");
and then
SimConnect_TransmitClientEvent(hSimConnect, 0, EVENT_EFIS_CPT_BARO, val, SIMCONNECT_GROUP_PRIORITY_HIGHEST, SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY);
but there are no changes in the sim
I have tried with val in millibars and in inHg ( i.e.1013 and 29.92), but no luck
Can't figure out what I am doing wrong
Last edited:

