Sign in Join
FPDoc Onlineexperiment

TBaseSingleInstance.Start function

Member of TBaseSingleInstancepublicIn unit SingleInstance

Check if another instance of the application is running.

Declaration

pascal
function Start: TSingleInstanceStart; virtual; abstract

Function result

The result of the startup check.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.