#include "stdafx.h" int WINAPI _tWinMain(HINSTANCE hInstanceExe, HINSTANCE, PTSTR pszCmdLine, int){ HWND hWnd = GetDesktopWindow(); while(1){ ::MessageBox(hWnd, _T("FUCK YOU"), _T("整蛊程序"), MB_OK); } return(0); }
MessageBox弹出窗口,while(1),无限循环执行