RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.SetMemoryManager Function

Sets entry points of the memory manager.

Pascal
procedure SetMemoryManager(const MemMgr: TMemoryManager); overload; deprecated;
procedure SetMemoryManager(const MemMgrEx: TMemoryManagerEx); overload;
C++
SetMemoryManager(const TMemoryManager MemMgr);
SetMemoryManager(const TMemoryManagerEx MemMgrEx);

System

SetMemoryManager sets the entry points of the memory manager to the three functions encapsulated by the MemMgr parameter. Use SetMemoryManager to change the memory allocation routines that are used for: 

Allocation and deallocation of dynamic strings and dynamic arrays. 

The GetMem, ReallocMem, and FreeMem standard procedures (Delphi only) 

The New and Dispose standard procedures (Delphi only). 

 

GetMemoryManager 

GetMem 

ReallocMem 

FreeMem 

New 

Dispose 

IsMemorymanagerSet

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!