Skip to content

TBaseSingleInstance.Start

Check if another instance of the application is running.

Declaration

Source position: singleinstance.pp line 57

public 
function TBaseSingleInstance.Start : TSingleInstanceStart;  virtual
                                  ;  abstract;

Description

Start will check if another instance is running. It returns the result of the check, and the result is also stored in StartResult

siServer
The current instance is the server (first started).
siClient
The current instance is the client (another instance was started earlier).
siNotResponding
The first instance is not responding.

See also

Name Description
StartResult Contains the result of the last Start call.
TSingleInstanceStart Result type for the TBaseSingleInstance.Start call.