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

Bryan Smith mentioned this to All:
 BS> Maybe somebody can clear up my confusion.  I somehow got the impression
 BS> that in Delphi/Windows, unlike TP/DOS, any memory allocated dynamically
 BS> with GetMem() or New() is not automatically returned to the system when
 BS> the program exits.  In other words, in Delphi, you have to free it
 BS> yourself with FreeMem/Dispose.
Windows will automatically free allocated memory when a program exits 
properly.
That doesn't mean that you should not do your own release of memory.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI. (1:2410/905)

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™.