Hello,
i'm trying to set a text in a prompt. If i have a char array it's no problem.
I want to take a string is ist possible? I work in C++
I tried this, but it doesnt work:
#include <string>
string Test = "hello";
gx_prompt_create(&prompt, "myprompt", &window, GX_ID_NONE, styletmp, 5, &mysize);
gx_prompt_text_set(&myprompt, Test.c_str());
Is there something wrong or are there other possibilities to work with prompts and strings?
Best Regards,
Matthias