Hello my friends, I Hope you are good.
i am here cuz i would like that somebody help me about reading Variable "String"...
i would like to Read, to get the value of a VOR or/and DME. and this value will send to a database.
What's happen ??
The Variable is:
NAV NAME ___ Descriptive ___ name ___ String ___ N ___ -
I Try to get the VOR NAME with this fuction in the next form.
hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_!, "VOR NAME", NULL, SIMCONNECT_DATATYPE_STRING256);
and when i printf the value with "%s" inside printf();. it show me a unexpected character like "&" or "|", etc...
i use the same function to read the TIITLE of the aircraft and it works.
hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_1, "Title", NULL, SIMCONNECT_DATATYPE_STRING256);
¿Can you help me??
Please sorry for my english.
Alan D. Oropeza... Caracas/Venezuela.
i am here cuz i would like that somebody help me about reading Variable "String"...
i would like to Read, to get the value of a VOR or/and DME. and this value will send to a database.
What's happen ??
The Variable is:
NAV NAME ___ Descriptive ___ name ___ String ___ N ___ -
I Try to get the VOR NAME with this fuction in the next form.
hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_!, "VOR NAME", NULL, SIMCONNECT_DATATYPE_STRING256);
and when i printf the value with "%s" inside printf();. it show me a unexpected character like "&" or "|", etc...
i use the same function to read the TIITLE of the aircraft and it works.
hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_1, "Title", NULL, SIMCONNECT_DATATYPE_STRING256);
¿Can you help me??
Please sorry for my english.
Alan D. Oropeza... Caracas/Venezuela.

