Adds a terminate procedure to the system list of termination procedures.
procedure AddTerminateProc(TermProc: TTerminateProc);
Call AddTerminateProc in Delphi code to add a procedure that is called when the application is about to terminate. The run time library calls all termination procedures before the application terminates. The supplied termination procedure (TermProc) should return true if the application can safely terminate or false if the application cannot safely terminate. If any termination procedure returns false, the application does not terminate.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!