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);

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!