RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.AttemptToUseSharedMemoryManager Function

Attempts to use a shared memory manager.

Pascal
function AttemptToUseSharedMemoryManager: Boolean;
C++
Boolean AttemptToUseSharedMemoryManager();

System

AttemptToUseSharedMemoryManager searches the current process for a shared memory manager. If no memory has been allocated using this module’s memory manager, it will switch to using the shared memory manager. It will return True if it found a shared memory manager to which it could switch. It will return False otherwise.

Note: The memory manager cannot be changed once memory has been allocated, since the new memory manager cannot free the pointers allocated through a different memory manager. This function is not thread safe.
 

Memory Management 

Configuring the Memory Manager 

Sharing Memory

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