Article View: borland.public.cppbuilder.nativeapi
Article #12882Re: Application notification on Machine restart or shutdown
From: Remy Lebeau (TeamB)
Date: Wed, 12 Nov 2003 01:57
Date: Wed, 12 Nov 2003 01:57
14 lines
1562 bytes
1562 bytes
"HernοΏ½n Tornielli" <hernan@nospam.net> wrote in message news:3fb19037$1@newsgroups.borland.com... > Let's say that at shutdown/logout, I need to do something > that would take a couple of minutes to finish, and am > concerned for whether or not Windows will wait me. You canot make windows wait that long for a shutdown. It will eventually abort you at some point. Your best bet is to start your cleanups in response to WM_QUERYENDSESSION instead. Gambit
Technical Details
Message-ID:
<3fb192d4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fb15541@newsgroups.borland.com> <3fb15956$1@newsgroups.borland.com> <3fb17fcd@newsgroups.borland.com> <3fb1820b$1@newsgroups.borland.com> <3fb19037$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,c54773486c2a14af X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-11 18:09:25 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fb15541@newsgroups.borland.com> <3fb15956$1@newsgroups.borland.com> <3fb17fcd@newsgroups.borland.com> <3fb1820b$1@newsgroups.borland.com> <3fb19037$1@newsgroups.borland.com> Subject: Re: Application notification on Machine restart or shutdown Date: Tue, 11 Nov 2003 17:57:50 -0800 Lines: 16 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: 67.22.137.149 Message-ID: <3fb192d4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1068602068 67.22.137.149 (11 Nov 2003 17:54:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail