RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.AddExitProc Function

Adds a procedure to the exit list.

Pascal
procedure AddExitProc(Proc: TProcedure);
C++
AddExitProc(TProcedure Proc);

SysUtils

AddExitProc adds Proc to the Delphi exit procedure list, so that Proc is automatically executed when the application terminates. AddExitProc is not compatible with CLX package support and is provided for backward compatibility only. Do not use AddExitProc in new applications. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!