Quote:Original post by sipickles
There must be some way of doing this conversion:
WCHAR* g_IP = (CDXUTEditBox*)pControl )->GetText(); //GetText() outputs a LPCWSTR
The answer is:
LPCWSTR g_IP = ( (CDXUTEditBox*)pControl )->GetText();
but the real question is why do you need to convert and what are you trying to convert to?