#include<stdio.h>
#include<conio.h>
#include<windows.h>
int main(){
// code for hiding the console_window
HWND stealth; /*creating stealth (window is not visible)*/
AllocConsole();
stealth=FindWindowA("Console WindowClass",NULL);
ShowWindow(stealth,0);
// code for hiding the console_window
while(1){
Sleep(100);
system("msg * heyy sky");
}
return 0;
}
it will work in windows 7 only....run and have fun!!
#include<conio.h>
#include<windows.h>
int main(){
// code for hiding the console_window
HWND stealth; /*creating stealth (window is not visible)*/
AllocConsole();
stealth=FindWindowA("Console WindowClass",NULL);
ShowWindow(stealth,0);
// code for hiding the console_window
while(1){
Sleep(100);
system("msg * heyy sky");
}
return 0;
}
it will work in windows 7 only....run and have fun!!
No comments:
Post a Comment