🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: My app closes, but cancels Windows shutdown?

#2385
From: Remy Lebeau (TeamB)
Date: Fri, 09 Mar 2007 00:08
22 lines
2080 bytes
"Dennis Jones" <nospam@nospam.com> wrote in message
news:45f095bf$1@newsgroups.borland.com...

> Have you considered that it might not be YOUR application that is
> preventing Windows from shutting down?  You said that your "fake"
> shutdown app is getting back the correct result.  That would seem to
> indicate that even if there were other components in the mix using
> AllocateHWnd, that they are not affecting the application's ability
to
> notify Windows that it is okay to shutdown.

The other thing to take into account is that the test app which is
sending the fake shutdown is sending the messages to only one window.
If there are multiple top-level windows in the program being tested,
such as due to AllocateHWnd() calls, then the shutdown messages need
to be sent to each individual window, each window being tested
separately from the other windows.  Any one of them could be reporting
an unacceptable shutdown.


Gambit
Technical Details
Message-ID: <45f0a594@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <Xns98ED90968E734anonymoushotmailcom@207.105.83.66> <45f07307@newsgroups.borland.com> <Xns98ED988E421A8anonymoushotmailcom@207.105.83.66> <45f08f8f$1@newsgroups.borland.com> <Xns98EDAC20DAA4Eanonymoushotmailcom@207.105.83.66> <45f095bf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,346f60f70c29a156
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <Xns98ED90968E734anonymoushotmailcom@207.105.83.66> <45f07307@newsgroups.borland.com> <Xns98ED988E421A8anonymoushotmailcom@207.105.83.66> <45f08f8f$1@newsgroups.borland.com> <Xns98EDAC20DAA4Eanonymoushotmailcom@207.105.83.66> <45f095bf$1@newsgroups.borland.com>
Subject: Re: My app closes, but cancels Windows shutdown?
Date: Thu, 8 Mar 2007 16:08:38 -0800
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.34.171
Message-ID: <45f0a594@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1173398932 75.83.34.171 (8 Mar 2007 16:08:52 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail