#include int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd) {MessageBox (NULL, TEXT (), TEXT ( "Hello"), MB_OK "Hello, World!"); return 0 }
Pay attention to the lpcmdline parameters, this is different from the ordinary VC SDK, just tossing here for a long time, it seems that everything has to be learned from the head.