Sign in Join
FPDoc Onlineexperiment

TCustomDaemon.ReportStatus procedure

Member of TCustomDaemonpublicIn unit DaemonApp

Report the current status to the operating system.

Declaration

pascal
procedure ReportStatus

Description

ReportStatus can be used to report the current status to the operating system. The start and stop or pause and continue operations can be slow to start up. This call can (and should) be used to report the current status to the operating system during such lengthy operations, or else it may conclude that the daemon has died.

This call is mostly important on windows operating systems, to notify the service manager that the operation is still in progress.

The implementation of ReportStatus simply calls ReportStatus in the controller.

Errors

None.

See also

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