System.SysUtils.AddExitProc

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal 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.