RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.AttemptToUseSharedMemoryManager Function

Attempts to use a shared memory manager.

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

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!