This code seems to work properly. I just need a way to output information like Hello World, and it seems to work for everyone else but me.
Code:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Yeeaaaaaaahhhhh!", "Yay!", MB_OK);
return 0;
}
The code is not the problem. I'm guessing I have to check some setting or something to get this work. Because it does compile successfully, it just doesn't seem to know what window to output to, or I just don't know which window it is outputting to.