Use need to use a mutex handle.
Steven
On 13 Oct 99, at 11:47, Leo Ramakers wrote:
> {I recall seeing this topic discussed a while back, but cant locate it in
> my DUG archive)
>
> I want to stop a program running (a setup program) if another program (the
> main application) is running. Any pointers?
>
> thanks
> Leo Ramakers
> SoftOption
>
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
Steven Wild
Director
Wild Software Ltd
P O Box 33-216
Christchurch, NZ
Ph & Fax 64 3 377-0495
_______________________
Chreos Business Systems
_______________________
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz