//The problem is in wc.lpszClassName = "WINAPITest"; #include int WINAPI WinMain(HINSTANCE hIstance, HINSTANCE hPrevIstance, LPSTR