LibModuleList Variable
LibModuleList
points to the head of a singly
linked list of TLibModule
records. Each node in
the list represents a module, that is, the application or library and
the packages and other DLLs that it loads.
Don’t mess with the LibModuleList
variable.
Delphi provides a number of procedures to manipulate the list for
you: EnumModules
,
EnumResourceModules
,
RegisterModule
, and
UnregisterModule
.
Delphi automatically inserts a node in the list when it loads a
package or DLL. To examine the contents of the list, call
EnumModules
, or to examine the associated resource
modules, call EnumResourceModules
.