how do you make a program so it is hidden and can only be seen in the processes under task manager?
Printable View
how do you make a program so it is hidden and can only be seen in the processes under task manager?
If its a window application then add the following code during the windows initialization:
Code:long CurrentStyle = GetWindowLong ( m_hWnd , GWL_EXSTYLE);
CurrentStyle |= WS_EX_TOOLWINDOW; //add WS_EX_TOOLWINDOW flag
CurrentStyle &= (0xFFFFFFFF^WS_EX_APPWINDOW); // remove WS_EX_APPWINDOW flag
SetWindowLong(m_hWnd, GWL_EXSTYLE, CurrentStyle);
no, its a console, sorry, forgot to specify that.