🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15637

Re: WM_ENDSESSION + Win2k/WinXP

#15637
From: Frank Gruber
Date: Thu, 19 Jun 2003 12:03
21 lines
1664 bytes
> You just need to read MSDN.

That's what I have done so far.

> In some topic (don't have MSDN now) there's a statement saying something
> like this: "After this message is sent, any API operation can fail with
> ERROR_SHUTDOWN_IN_PROGRESS error".

I was searching for this but could not find it. This is not stated by the
messages itself.
If you have a reference to this statment it would be nice if you share it
with us.

> The best thing is to close the application by posting WM_CLOSE to main
> form when you receive WM_QUERYENDSESSION and not wait until
> system kills your application.

We will give this a try.

Regards,
Frank
Technical Details
Message-ID: <3ef1a66e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ef08c31$1@newsgroups.borland.com> <3ef09b02$1@newsgroups.borland.com> <3ef0a332@newsgroups.borland.com> <3ef0c5ce@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9e00bf1ef85252e4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-19 05:24:07 PST
From: "Frank Gruber" <HVFDMIPUMFPS@spammotel.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ef08c31$1@newsgroups.borland.com> <3ef09b02$1@newsgroups.borland.com> <3ef0a332@newsgroups.borland.com> <3ef0c5ce@newsgroups.borland.com>
Subject: Re: WM_ENDSESSION + Win2k/WinXP
Date: Thu, 19 Jun 2003 14:03:02 +0200
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 217.231.167.38
Message-ID: <3ef1a66e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056024174 217.231.167.38 (19 Jun 2003 05:02:54 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail