Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. Language Reference > RemoveModuleUnloadProc Procedure

Name

RemoveModuleUnloadProc Procedure

Syntax

procedure RemoveModuleUnloadProc(Proc: TModuleUnloadProc);

procedure YourProcedure(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

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint