I have a game source code that has been built in VC++ 6. Problem is when I try to display a Chinese message in a message box (that is customized message box to display in game interface), but the Chinese message is always broken. This is function:
the chinese character set cannot be represented using the ANSI version of the API. You need to use the UNICODE version. i.e. wchar_t instead of char and L"..." instead of "..."
Thanks for your answer.
Could you explain to me more about how can I change project settings to Unicode? Do you mean that changing format of .cpp file when saving?
Look into the MSDN documentation, if you have it installed.
And if you can't find relevant settings, I suggest you reinstall VC++ 6.0, and be sure to select the Unicode MFC libraries. Because they are unchecked in a default setup, I think.
The problem is that VC++6 is pretty old. Better get a more recent version like vc++2008 (there you're indeed able to choose the code page -> "Advanced Save option")