I'm sorry my question might seems trivial but I don't know how to do it the right way. I developed a lot of FS gauges but all in C/C++ and never had any close encounter with the XML gauge world...
So I'd have 3 questions about C/C++ <-> XML gauges interaction
1) I have a gauge written in C/C++. I already made an "SDK" to let C/C++ gauge developers be able to read internal variables/states of my gauge.
But if I want to "export" C internal variables to make them available to gauges written in XML, what is THE way to do it? Is there any clarifying example available somewhere?
2) If I "export" a TON of them (100+), should I expect performance issues?
3) Since I already have an SDK for C/C++ gauges, which way is the best:
a) Handle XML-reachable variables "directly" from the C/C++ gauge
or
b) Build a new, separate, C/C++ gauge, using the SDK, and providing C-to-XML bridging [to be used only when needed]
Thank you very much in advance to anybody willing to help me!
Marco
So I'd have 3 questions about C/C++ <-> XML gauges interaction
1) I have a gauge written in C/C++. I already made an "SDK" to let C/C++ gauge developers be able to read internal variables/states of my gauge.
But if I want to "export" C internal variables to make them available to gauges written in XML, what is THE way to do it? Is there any clarifying example available somewhere?
2) If I "export" a TON of them (100+), should I expect performance issues?
3) Since I already have an SDK for C/C++ gauges, which way is the best:
a) Handle XML-reachable variables "directly" from the C/C++ gauge
or
b) Build a new, separate, C/C++ gauge, using the SDK, and providing C-to-XML bridging [to be used only when needed]
Thank you very much in advance to anybody willing to help me!
Marco







