I\'m working on a native extension for a zinc based flash application and I need to convert a const char* to a wstring.
const char*
wstring
This is my code:
You can convert char string to wstring directly as following code:
char
char buf1[] = "12345678901234567890"; wstring ws(&buf1[0], &buf1[20]);