Name
ExitProc Variable
Syntax
var ExitProc: Pointer;
Description
When an application exits, it calls the procedure that
ExitProc
points to. The procedure takes no
arguments. ExitProc
exists only for backward
compatibility with older Delphi programs. New Delphi programs should
use a finalization section instead. If you must use
ExitProc
, see the AddExitProc
procedure in the SysUtils
unit for a better way to
set up an exit
procedure.
See Also
Finalization Keyword |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.