System.RemoveModuleUnloadProc

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure RemoveModuleUnloadProc(Proc: TModuleUnloadProc);
procedure RemoveModuleUnloadProc(Proc: TModuleUnloadProcLW);

C++

extern DELPHI_PACKAGE void __fastcall RemoveModuleUnloadProc(TModuleUnloadProc Proc)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System System

Description

RemoveModuleUnloadProc removes a call to your defined routine when a package is unloaded.

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

See Also