65,189
社区成员




WinExec("命令",SW_HIDE);//执行命令且不显示cmd窗口
#include <windows.h>
#include <winuser.h>
#pragma comment(lib,"user32.lib")
int WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstace,
LPSTR lpCmdLine,
int nCmdShow
)
{
// Lock the workstation.
LockWorkStation();
return 0;
}