I am making a win32 application using visual studio 2008.
When ever i compile my code which generates a simple dialog, all of the dialogs text show in Chinese language. I have not set Chinese anywhere. can some one elaborate what the issue is?
My code is
#include <windows.h>
int WINAPI WinMain(
HINSTANCE nowInstance,
HINSTANCE prevInstance,
LPSTR ipCmdLine,
int nCmdShow
)
{
MessageBox(NULL,"My First Program","Our University",MB_OK);
return 0;
}
It sounds like you’re mixing Unicode and ANSI.
Have you tried
And does that give you the expected results?