appo

Kill process [Win32 API] (Option 3)

Dec 27th, 2013
400
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma hdrstop
  2. #pragma argsused
  3. #include <vcl.h>  
  4. #include <tchar.h>
  5. #include <stdio.h>
  6. #include <tlhelp32.h>
  7.  
  8.  
  9. int _tmain(int argc, _TCHAR* argv[])
  10. {
  11.  
  12.     system("taskkill /IM notepad.exe") ;
  13.     return 0;
  14. }
  15.  
  16. // Coded by Appo //
RAW Paste Data