TDaemonApplication
TCustomDaemonApplication
OnRun
TCustomApplication
OnException
TComponent
TPersistent
TObject