Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c program hide console window

#include<stdio.h>
#define _WIN32_WINNT 0x0500
#include <windows.h>


int main(int argc,char** argv){   
    HWND hWnd = GetConsoleWindow();
    ShowWindow( hWnd, SW_MINIMIZE );
    ShowWindow( hWnd, SW_HIDE );
    return 0;
}
 
PREVIOUS NEXT
Tagged: #program #hide #console #window
ADD COMMENT
Topic
Name
1+3 =