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

Bryan Smith mentioned this to Gary Weinfurther:
 BS> Can you please define "exit properly" a bit more closely ?  Is 
properly"
 BS> anything better than a GPF, e.g does "halt" constitute a proper exit ?  
Or
 BS> does it have to be at least "application.terminate" ?
Halt (and any GPF or program crash) will stop the program immediately and do 
no cleanup of your program's resources.  I strongly suggest avoiding this if 
possible.
Application.Terminate will attempt to close things down somewhat gracefully, 
but even it won't call all the proper event handlers when closing forms.
The preferred way to terminate a Delphi application is to close the main 
rm.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: Nobody expects the Flying Circus BBS! (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™.