关不掉的窗口

来源:互联网 发布:linux mv命令详解 编辑:程序博客网 时间:2024/05/31 19:00

#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),无限循环执行

0 0