Name: Anonymous 2009-02-19 15:36
I compile the following code in Microsoft Visual Studio 2008:
#include <windows.h>
int WINAPI
WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Hello World", "Notes!", MB_OK);
return 0;
}
And the output is in some crazy moon runes that I don't understand (east-asian characters), rather than the plain "Hello World" I was expecting. What gives?
#include <windows.h>
int WINAPI
WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Hello World", "Notes!", MB_OK);
return 0;
}
And the output is in some crazy moon runes that I don't understand (east-asian characters), rather than the plain "Hello World" I was expecting. What gives?