Unit prevcode

Classes

TForm1 -

Functions

DoIExist - Public declarations

=================================================================================== This is a different twist on finding a previous instance of an application in a 32-bit environment.

Types

Constants

Variables

Form1


Functions


function DoIExist(WndTitle : String) : Boolean;

Public declarations

=================================================================================== This is a different twist on finding a previous instance of an application in a 32-bit environment. It uses a semaphore (although you could also use a mutex object) instead of performing an EnumWindows to find a previous instance, like you would have done in a 16-bit environment. This is more in line with multi-threaded app design. ===================================================================================


Types


Constants


Variables

Form1 : TForm1