Name

IsMemoryManagerSet Function

Syntax

function IsMemoryManagerSet: Boolean;

Description

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.

IsMemoryManagerSet is a real function.

Tips and Tricks

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.

See Also

GetHeapStatus Function, GetMemoryManager Procedure, SetMemoryManager Procedure
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset