Let's see if I can do a similar tutorial for C++..
Code:
#include <Windows.h>
int main()
{
DWORD MW3_PID;
HWND MW3_HWND;
HANDLE MW3_HANDLE;
while(!(MW3_HWND = FindWindow(NULL,"Call of Duty®: Modern Warfare® 3 Multiplayer")))
Sleep(10);
while(!(GetWindowThreadProcessId(MW3_HWND,&MW3_PID)))
Sleep(10);
while(!(MW3_HANDLE = OpenProcess(PROCESS_ALL_ACCESS,false,MW3_PID)))
Sleep(10);
while(MW3_HWND = FindWindow(NULL,"Call of Duty®: Modern Warfare® 3 Multiplayer"))
{
//Do 1337 haxxor stuff
}
MessageBox(NULL, "MW3 killed itself..\n*Sadface*", NULL, NULL);
return 0;
}
There.. now to drag it out into a 10 min video..