Your welcomed to the attached file
 
in your dpr file call EnsureSingleInstance
 
e.g
 
  Application.Initialize;
  EnsureSingleInstance;
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Colin Dillicar
Sent: Thursday, January 25, 2001 5:14 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Detecting other instances

Hi all,
 
  I know this topic has been canvassed before but I need to be reminded of the simplest method of detecting whether another instance of my application is already being run on the same PC.
 
Cheers
 
    Colin.
 

ONEINSTANCE.PAS

Reply via email to