Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HeapCheck variable

1 view
Skip to first unread message

je...@borsuk.seas.ucla.edu

unread,
Sep 30, 1996, 3:00:00 AM9/30/96
to

Does anyone know the declaration and usage of function assigned
to HeapCheck variable ?

Ray Lischner

unread,
Oct 1, 1996, 3:00:00 AM10/1/96
to

On 30 Sep 1996 15:47:34 GMT, je...@borsuk.seas.ucla.edu () wrote:

>Does anyone know the declaration and usage of function assigned
>to HeapCheck variable ?

HeapCheck exists only in Delphi 1. It it normally nil, but you can set
it point to a parameterless procedure. Delphi calls the HeapCheck
procedure before allocating or freeing memory. You can use this
procedure to verify the integrity of the heap, or whatever else you
want to do.

Secrets of Delphi 2 describes HeapCheck, the format of the Delphi 1
heap, and presents an example heap checker.
--
Ray Lischner, Tempest Software, Corvallis, Oregon, USA
Author of Secrets of Delphi 2 (http://www.tempest-sw.com/secrets/)

0 new messages