Show: Delphi C++
Display Preferences

System.SysUtils.AddExitProc

From XE2 API Documentation
Jump to: navigation, search

Delphi

procedure AddExitProc(Proc: TProcedure);

C++

extern 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.

Personal tools
Previous Versions
Translations