Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

wat

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?

Name: Anonymous 2009-02-19 15:45

>>2
Oddly, the compiler should catch that particular error, though it does sound like it might be the case.

OP, What is your default system locale set to? (see "Language for non-Unicode programs" in Regional and Language options)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List