Name
GetMemory Function
Syntax
function GetMemory(Size: LongInt): Pointer; cdecl;
Description
GetMemory
calls Delphi’s default memory
manager to allocate Size
bytes of memory. It
returns a pointer to the newly allocated memory or
nil
if the request could not be
fulfilled.
GetMemory
is for use by C++ Builder. If you are
writing a memory manager in Delphi, you should call
SysGetMem
.
GetMemory
is a real function.
See Also
FreeMemory Function, GetMem Procedure, IsMultiThread Variable, New Procedure, ReallocMemory Function, SysGetMem Function |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.