I've done a bit of research and found that I should be able to use '%ls' in a printf format string to print a wide string value. The problem is I only get the first character printed.
My experimental code looks like this:
sprintf(buf, "String: %ls", pString);
Please sign in to leave a comment.