![]() |
|
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| SimConnect Use this forum for all your SimConnect related discussions |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Read XML variables through simconnect ?
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 |
|
#2
|
|||
|
|||
|
Just a short check? Did no one ever get this to work or is this the kind of data that people don't want to share? Or is this just a stupid question ?
Björn |
|
#3
|
|||
|
|||
|
As far as I believe, you can't get to Lvars like that. I'm surprised you say it works with Avars, if you mean you're preceding them with A: in the SimConnect_AddToDataDefinition call.
The only way I know to pass them to an out of process simconnect client would be to do so via an in-process client in a gauge dll and a shared client data area. Si |
|
#4
|
|||
|
|||
|
Hi Simon,
Reading Avars is without the preceding "A:" you are right, I never even tried with the "A:". Björn |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FSX] SimConnect does not return any data | lordofwings | SimConnect | 0 | 02 Aug 2010 12:52 |
| SimConnect variables | panchon | SimConnect | 1 | 29 Jul 2010 14:27 |
| [FSXA] Simconnect to read FSX in other PC | mendiola_loyola | SimConnect | 2 | 23 Jun 2009 12:48 |
| FSUIPC & Simmconnect version pb | Yamasuki | SimConnect | 0 | 09 May 2008 08:28 |
| SimConnect Simulator Variables | FlapsOut | SimConnect | 3 | 12 Jun 2007 19:24 |