Hi,
Was wondering if it is possible to read XML variables as created using the
registered_named_variable
macro (think you XML guys call them "L:" variables ?), can be read through simconnect. I have created a dll module and now I want it to be able to communicate with the rest of my panel/gauges!
I have tried using:
hr = SimConnect_AddToDataDefinition(hSimConnect, TEST, "L:TestVariable", "number");
and then
hr = SimConnect_RequestDataOnSimObjectType(hSimConnect, REQUEST, TEST, 0, SIMCONNECT_SIMOBJECT_TYPE_USER);
But that doesn't seem to return anything usefull. Note that standard FSX XML variables work well using this technique...
Can anyone help me out here ?
Thanks,
Björn
Was wondering if it is possible to read XML variables as created using the
registered_named_variable
macro (think you XML guys call them "L:" variables ?), can be read through simconnect. I have created a dll module and now I want it to be able to communicate with the rest of my panel/gauges!
I have tried using:
hr = SimConnect_AddToDataDefinition(hSimConnect, TEST, "L:TestVariable", "number");
and then
hr = SimConnect_RequestDataOnSimObjectType(hSimConnect, REQUEST, TEST, 0, SIMCONNECT_SIMOBJECT_TYPE_USER);
But that doesn't seem to return anything usefull. Note that standard FSX XML variables work well using this technique...
Can anyone help me out here ?
Thanks,
Björn
