System.SysUtils.AddExitProc
Delphi
procedure AddExitProc(Proc: TProcedure);
C++
extern DELPHI_PACKAGE void __fastcall AddExitProc(TProcedure Proc);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Adds a procedure to the exit list.
AddExitProc adds Proc to the Delphi exit procedure list, so that Proc is automatically executed when the application terminates. AddExitProc is not compatible with ULX package support and is provided for backward compatibility only. Do not use AddExitProc in new applications.