Einzelnen Beitrag anzeigen

DelphiBerlin

Registriert seit: 30. Jul 2016
1 Beiträge
 
#1

How can i close handle remote? (CloseHandle remote)

  Alt 30. Jul 2016, 16:57
Hello

Are possible close a remote handle of another process?
Example: I'm trying with this command

Delphi-Quellcode:
hProcess : THandle ;
begin
    hProcess := OpenProcess (PROCESSS_ALL_ACESS, false, RemotePID) ;
    CloseHandle (RemoteHandleID) {$1C}
   CloseHandle (hProcess) ;
end;
But the problem is, this works only on my process, closed the handle only on my process and don't killed the handle on the remote process {$1C}

Thank you!
  Mit Zitat antworten Zitat