Name
GetMemoryManager Procedure
Syntax
procedure GetMemoryManager(var Mgr: TMemoryManager);
Description
GetMemoryManager
retrieves pointers to the
functions that Delphi uses to allocate and free memory, and stores
those pointers in the Mgr
record.
GetMemoryManager
is a real
procedure.
Tips and Tricks
Ordinarily, it is good form when making a global change to save the
old setting so you can restore it in a unit’s finalization
section. Setting a new memory manager is the exception. See
SetMemoryManager
for an explanation.
See Also
IsMemoryManagerSet Function, SetMemoryManager Procedure, TMemoryManager 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.