Does anyone know how to convert it?Thx
Does anyone know how to convert it?Thx
Hello @jason.ng,
Thank you for your participation in the forum.
Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
You can just simply calls EmaString::c_str() to return buffer as const char* and then you can use string::append() to add the buffer from EmaString to std::string.
For example,
EmaString hostname="localhost:14002"; std::string host; host.append(hostname.c_str());