Monday, 13 July 2009

hide script

#define _WIN32_WINNT 0x0500
#include windows.h // don't forget to add the >< to the headers
#include iostream
int main()
{
HWND hWnd = GetConsoleWindow();
ShowWindow( hWnd, SW_HIDE );
return 0;
}

1 comment:

  1. Hi, is it possible to hide the process too?
    Good article, let me know!

    ReplyDelete