Board index » delphi » how to kill a process ?

how to kill a process ?

Hi,

How is it possible to kill a process like in "end of task"
and without using WM_QUIT or WM_CLOSE , i'll like
something that kill rapidly ???

Thanks for your help

oliver.

 

Re:how to kill a process ?


In article <36CAFD2A.998F6...@hotmail.com>, hou...@hotmail.com says...

Quote

>Hi,

>How is it possible to kill a process like in "end of task"
>and without using WM_QUIT or WM_CLOSE , i'll like
>something that kill rapidly ???

Use the API TerminateProcess. You need a process handle to the process you want
to terminate.

--
Christo Crause
Thermal Separations Research
University of Stellenbosch
South Africa

Other Threads