TIP: Click on subject to list as thread! ANSI
echo: delphi
to: GARY WEINFURTHER
from: BRYAN SMITH
date: 1996-12-25 10:25:00
subject: Dynamic Memory Allocation

On 24 Dec 96 Gary Weinfurther said to Bryan Smith...
 GW> Windows will automatically free allocated memory when a program exits
 GW> properly. That doesn't mean that you should not do your own release of
 GW> memory.
Thanks to yourself and to Lee Aroner for the re-assurance that the weird
effect I thought I had observed was not paranormal.
Can you please define "exit properly" a bit more closely ?  Is "properly"
anything better than a GPF, e.g does "halt" constitute a proper exit ?  Or
does it have to be at least "application.terminate" ?
If the memory is released by Windows rather than the Delphi program, maybe
even a GPF is adequate ?
--- PPoint 2.00
---------------
* Origin: Kingston, Canada (1:249/109.11)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.