Unit TBPrevInst

Renamed from PrevInst.pas 6/7/1998 Paul Rice to avoid conflict with others' work. TPrevInst: component to limit multiple instances of your program Target : Delphi 2.x Version : 1.0 Date : 25 August 1997 Freeware NOTE : I took almost all code here from The Unofficial Newsletter of Delphi Users - Issue #16 - September 1996 and made this component for easy use. Article's title: Limiting Multiple Instances Of Your Program by Robert Vivrette - CIS: 76416,1373 See PrevInst.txt. All mr Vivrette's article included. USING TPrevInst 1. Install PrevInst.pas as usual (menu Component|Install) There is no .dcr file 2. Drop an instance of TPrevInst on your main form 3. Set property AllowedInst to how many allowed instances you want (default:=1) 4. On your main's form OnCreate add: PrevInst1.Execute 5. Run your program. Don't forget:Thanks to mr Vivrette Theodoros Bebekis "Lathe Viosas", Salonica, Greece. Hmmm....! {************************* unit PrevInst

Classes

TPrevInst -

Functions

Register - Execute } {------------------------------------Register----------------------------------

Types

Constants

Variables


Functions


procedure Register;

Execute } {------------------------------------Register----------------------------------

Types


Constants


Variables