[Lazarus] kill a running program by name

2015-11-13 Thread fecske fecske
How can I kill a running program (proces,task) by name? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] kill a running program by name

2015-11-13 Thread fecske fecske
This work perfekt for me from here... http://www.swissdelphicenter.com/torry/showcode.php?id=266 on the windows7 64 with jwatlhelp32 and windows in uses function KillTask(ExeFileName: string): Integer; const PROCESS_TERMINATE = $0001; var ContinueLoop: BOOL; FSnapshotHandle: THandle;

Re: [Lazarus] kill a running program by name

2015-11-13 Thread Mark Morgan Lloyd
fecske fecske wrote: How can I kill a running program (proces,task) by name? Depends on operating system. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___

Re: [Lazarus] kill a running program by name

2015-11-13 Thread fecske fecske
Sorry! Windows 7 and later On Fri, Nov 13, 2015 at 12:06 PM, Mark Morgan Lloyd wrote: > fecske fecske wrote: >> >> How can I kill a running program (proces,task) by name? > > > Depends on operating system. > > -- > Mark Morgan Lloyd > markMLl .AT. telemetry.co