- Messages
- 65
- Country

Hi there,
The Simconnect documentation seems to indicate that the marker beacon state should be settable, but I don't seem to be able to get it to work. Am I doing something wrong? or is the documentation in error?
My code is:
INT32 data = 1;
SimConnect_Open(&hSimConnect, "RadioRange", NULL, NULL, NULL, SIMCONNECT_OPEN_CONFIGINDEX_LOCAL);
SimConnect_CallDispatch(hSimConnect, ScDispatchProc, this);
if (FAILED(SimConnect_AddToDataDefinition(hSimConnect, 1, "INNER MARKER", "Bool", SIMCONNECT_DATATYPE_INT32)))
MessageBox(GetActiveWindow(), "add to def fail", 0, 0);
MessageBox(GetActiveWindow(), "Setting", 0, 0);
SimConnect_SetDataOnSimObject(hSimConnect, 1, SIMCONNECT_OBJECT_ID_USER, NULL, 0, sizeof(data), &data);
I also tried "MARKER BEACON STATE" as well.
I would appreciate any help ever so much!
Farley
The Simconnect documentation seems to indicate that the marker beacon state should be settable, but I don't seem to be able to get it to work. Am I doing something wrong? or is the documentation in error?
My code is:
INT32 data = 1;
SimConnect_Open(&hSimConnect, "RadioRange", NULL, NULL, NULL, SIMCONNECT_OPEN_CONFIGINDEX_LOCAL);
SimConnect_CallDispatch(hSimConnect, ScDispatchProc, this);
if (FAILED(SimConnect_AddToDataDefinition(hSimConnect, 1, "INNER MARKER", "Bool", SIMCONNECT_DATATYPE_INT32)))
MessageBox(GetActiveWindow(), "add to def fail", 0, 0);
MessageBox(GetActiveWindow(), "Setting", 0, 0);
SimConnect_SetDataOnSimObject(hSimConnect, 1, SIMCONNECT_OBJECT_ID_USER, NULL, 0, sizeof(data), &data);
I also tried "MARKER BEACON STATE" as well.
I would appreciate any help ever so much!
Farley


