Delphi Programming
This page is intended as a supplement to the official documentation on Delphi programming. CodeGear is in the process of putting the Delphi documentation on the Web. Once they have done so, this page will link to the relevant page in the official documentation.
This article is a stub.
Please help enhance the Delphi Programming Wiki by expanding it.
see the VCL Documentation Guidelines for an overview on doc pages



Definition (Delphi 6, 2010, XE):

function AllocMem(Size: Cardinal): Pointer;

This routine allocates heap memory using GetMem or similar, then fills the memory with zeroes (OP fillchar; C/C++ memset() ).

Technical Comments[]

(Known issues / Documentation clarifications / Things to be aware of)


(Please provide links to articles/source code that show how to use this item.)

See Also[]

(Please provide links to items specifically related to this item.)

User Comments/Tips[]

The AllocMem function has moved to the system unit since at least Delphi 2009.