From Appmethod Libraries
Jump to: navigation, search


typedef void __fastcall (*TModuleUnloadProc)(NativeInt HInstance);


Type Visibility Source Unit Parent
typedef public System.hpp System System


TModuleUnloadProc defines a procedure that can be called during package unload.

Before Object Pascal unloads a package that was used by your application, it can optionally call your TModuleUnloadProc routine. In essence, AddModuleUnloadProc adds your callback routine to the head of the list of internal routines that Object Pascal invokes to perform the unload.

Proc is the handle to the DLL Package instance being unloaded.

See Also