
I am reading a title from a file into a character array and now I want to set the window title but I can't... My current code puts a "??????????????????#0.02" into the caption:
wchar_t wtitle[128];
swprintf(wtitle, 128, L"%s%s", title, PSS4_VERSION);
If someone can please explain to me how to convert the character array title into a wide character array, that would be great! Thanks~ John DiSanti
Forgot to say: I did debug it and it is loading the text from the file flawlessly, the swprintf is the problem.
________
Growing Marijuana