how is your function GeData() implemented? I assume this is a native function where you get some C strings.
Let me recommend to have a look to the section Be careful when exchanging strings. Does this answer your question?
Thanks for the additional information - so the referred section will guide you through the aspects of exchanging strings between native C code and your GUI application.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!