Article View: borland.public.delphi.language.objectpascal
Article #25Delphi Unit Finalization under COM+
From: Leroy Eldred
Date: Tue, 31 Aug 2004 15:22
Date: Tue, 31 Aug 2004 15:22
14 lines
1337 bytes
1337 bytes
While attempting to detect any memory leaks in my COM+ components, I noticed that my Unit finalization code does not seem to be called when the DLLHost.Exe is shut down. I tried shutting down both through MMC and via the TimeOut on the COM+ package. I do not put much code in finalization, but there are some standard files (ADODB) that use this technique. Can anyone tell me if these are fired when running under COM+ and at what time? If not, what is a workaround to free resources? Using Delphi 7 running on Win2000 Server SP 4. Leroy
Technical Details
Message-ID:
<8638d0d4.0408310722.200fc204@posting.google.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 109d30,3b950eb091a70dc0,start X-Google-Attributes: gid109d30,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail From: leroy@benefitsoftware.com (Leroy Eldred) Newsgroups: borland.public.delphi.language.objectpascal Subject: Delphi Unit Finalization under COM+ Date: 31 Aug 2004 08:22:43 -0700 Organization: http://groups.google.com Lines: 14 Message-ID: <8638d0d4.0408310722.200fc204@posting.google.com> NNTP-Posting-Host: 65.4.137.88 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1093965764 8129 127.0.0.1 (31 Aug 2004 15:22:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 31 Aug 2004 15:22:44 +0000 (UTC)