#include #pragma comment(linker,"/SUBSYSTEM:Windows") int WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { Sleep(10000); // sleeps for ~3 seconds with loading cursor //and ~7 more seconds with normal cursor MessageBox(NULL, "HELLO WORLD", "TEST", MB_OK); return WM_QUIT; }