Name

UnregisterModule Procedure

Syntax

procedure UnregisterModule(LibModule: PLibModule);

Description

UnregisterModule removes a module from Delphi’s list of registered modules. Delphi automatically calls UnregisterModule when it unloads a package or when the program exits.

Tips and Tricks

You can call UnregisterModule to remove a module from the list, but doing so prevents Delphi from finalizing the module.

See Also

EnumModules Procedure, EnumResourceModules Procedure, LibModuleList Variable, PLibModule Type, RegisterModule Procedure, TLibModule Type

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.