#include int WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { Sleep(3000); MessageBox(NULL, TEXT("HELLO WORLD"), TEXT("TEST"), MB_OK); return WM_QUIT; } // When I run this, I get a loading cursor at mouse for like 4 seconds // Then it sleeps 6 more seconds // And it shows the hello world message // Can you please compile and run the code yourself to check if you get the loading cursor too ? // VC++ 2005