title: Delphi Get the handle of a EXE
body: <p>Heres an example of how I'm doing it right now :</p>
  
  <pre><code>var
  Client : String;
  Handle : Integer;
  begin
  Client := 'Window Name';
  GetWindowThreadProcessId(FindWindow(nil, PAnsiChar(Client)), @ProcessId);
  Handle := OpenProcess(PROCESS_ALL_ACCESS, False, ProcessId);
  end;
  </code></pre>
  
  <p>I'd rather grab the  Process's handle with its exe name...
  Is this possible this?</p>