title: How to effectively kill a process in C++ (Win32)?
body: <p>I am currently writing a very lightweight program so I have to use C++ since it is not bound to .NET framework which drastically increases size of the program. </p>
  
  <p><strong>I need to be able to terminate process and to do that I need to get a process handle. Unfortuanately I haven't figured how to do that yet.</strong></p>
  
  <p>P.S. I know that to kill a process you have to use <em>TerminateProcess</em>.</p>