Delphi - How to kill a process by knowing its path? -
until using this function kill process. if have 3 processes of same name , 1 of them 1 want kill? if this: killtask('csrss.exe') kill system process. have path of process, how can use information kill it?
iterate on processes , check path each of them, use answer question (use getmodulefilenameex):
get full path pid using delphi
if launched process remember pid or handle , kill specific one.
Comments
Post a Comment