I'm using Microsoft Embedded Visual C++ 4 to develop an application for Windows Mobile.
I'm programming in C, not C++. UNICODE is enabled.
I'm trying to use DrawText with text stored in a char*
char* Str = "Hello!";
DrawText(hdc, ? ,3, &rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER | DT_NOPREFIX);
How do I convert from char *' to 'const unsigned short *' as required by DrawText?
Thanks in advance,