Re: [Lazarus] Process Detection

2009-11-22 Thread theo
See: http://wiki.lazarus.freepascal.org/UniqueInstance -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Process Detection

2009-11-21 Thread Matt Shaffer
I don't know of one directly in FPC, but on Windows, you could use the Windows API, and on linux, you could pipe the output from programs like top, probably. On Sat, Nov 21, 2009 at 7:29 PM, Terry A. Haimann wrote: > Is there a function or procedure in Free Pascal/Lazarus thhat can detect or > l

[Lazarus] Process Detection

2009-11-21 Thread Terry A. Haimann
Is there a function or procedure in Free Pascal/Lazarus thhat can detect or list running applications. I prefer it to be as os nutral as possible. I just want to see if an application is running and if it isn't to start it automatically. Thx, Terry -- _