Name
RemoveModuleUnloadProc Procedure
Syntax
procedure RemoveModuleUnloadProc(Proc: TModuleUnloadProc); procedureYourProcedure
(HInstance: Integer); begin ... end; RemoveModuleUnloadProc(YourProcedure
);
Description
RemoveModuleUnloadProc
removes your module unload procedure
from the list. Delphi keeps a list of packages that comprise an
application. When Delphi unloads a package, it calls a series of
unload procedures, passing the DLL’s instance handle to each
one.
To add a procedure to the list, call
AddModuleUnloadProc
.
RemoveModuleUnloadProc
is a real procedure.
See Also
AddModuleUnloadProc Procedure, ModuleUnloadList Variable, PModuleUnloadRec Type, TModuleUnloadRec Type, UnregisterModule Procedure |
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.