Re: Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- From: Robert Giesecke <spam@xxxxxxxxx>
- Date: Tue, 09 Aug 2005 21:44:09 +0200
Bryce,
I sorta thought the DotNet version already was an optional garbage collector, if you used VCL.NET I mean. With VCL.NET, can't you either free/dispose everything yourself via the "normal" way, or let the garbage collector get it when it wants?
-BKN
Hi Bryce,
it's not free-ing, it's disposing. And actually, you have to, it's not optional as there are unmanaged resources involved for which GC has no clue what to do with.
If you know, that a specific VCL.Net does not use unmaged stuff, you don't need to dispose it. Even if you did, it wouldn't "free" the object. ;-)
Please correct me, if this was wrong, I'm not that familiar with VCL.Net...
.
- Follow-Ups:
- Re: Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- From: Jeff Overcash (TeamB)
- Re: Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- From: Robert Giesecke
- Re: Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- References:
- Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- From: Mike Vance
- Re: Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- From: Bryce K. Nielsen
- Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- Prev by Date: Re: Informal Poll --- 100K to 1M Sale
- Next by Date: Re: Somebody With Artistic Talent Please Create Delphi T-Shirt & Mugs At CafePress
- Previous by thread: Re: Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- Next by thread: Re: Delphi32 & Delphi.NET Should Both Have *Optional* Garbage Collection
- Index(es):
Relevant Pages
|