[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'sysutils' (#rtl) |
Add a procedure to the exit chain.
Source position: sysutilh.inc line 186
procedure AddTerminateProc( |
TermProc: TTerminateProc |
); |
AddTerminateProc adds TermProc to the list of exit procedures. When the program exits, the list of exit procedures is run over, and all procedures are called one by one, in the reverse order that they were added to the exit chain.
If no memory is available on the heap, an exception may be raised.
|
Terminate procedure procedural variable. |
|
|
Call the exit chain procedures. |
No notes exist for this page yet.