IsMemoryManagerSet Function
The IsMemoryManagerSet
function returns True if
the memory manager is different from Delphi’s default memory
manager. You can set a different memory manager by calling
SetMemoryManager
.
If you are implementing a new memory manager, presumably you know
whether your code calls SetMemoryManager
. The
utility of IsMemoryManagerSet
is to know whether
functions such as GetHeapStatus
are meaningful. If
IsMemoryManagerSet
returns True, you should assume
that GetHeapStatus
will not return any useful
information. Consult the documentation for the new memory manager to
learn what function, if any, replaces
GetHeapStatus
.