Article View: borland.public.cppbuilder.nativeapi
Article #16000Re: log off/ application terminate
From: Duane Hebert
Date: Tue, 03 Jun 2003 19:15
Date: Tue, 03 Jun 2003 19:15
18 lines
1653 bytes
1653 bytes
> > It is not. However, your form's destructor should still execute properly. > > All Application->Terminate() does is calls PostQuitMessage() which posts a > > WM_QUIT message to the message queue, nothing else. There are other > system > > messages associated with system logoff/shutdown that the VCL does respond > to > > as well, so it can still clean up after itself properly. > > I'll have to do some more testing but it doesn't seem like the dtor is being > called. In the dtor of my main form, I write to a file. Message shows up on exit but not on windows logoff. Any ideas?
Technical Details
Message-ID:
<3edcf3c7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3edccd80@newsgroups.borland.com> <3edcd422$1@newsgroups.borland.com> <3edcdbb6@newsgroups.borland.com> <3edcea6f$1@newsgroups.borland.com> <3edcf095$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f4b8abe1a2fab575 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-03 12:26:28 PST From: "Duane Hebert" <duane@nitrex.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3edccd80@newsgroups.borland.com> <3edcd422$1@newsgroups.borland.com> <3edcdbb6@newsgroups.borland.com> <3edcea6f$1@newsgroups.borland.com> <3edcf095$3@newsgroups.borland.com> Subject: Re: log off/ application terminate Date: Tue, 3 Jun 2003 15:15:21 -0400 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 199.243.88.188 Message-ID: <3edcf3c7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054667719 199.243.88.188 (3 Jun 2003 12:15:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail