🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: My app closes, but cancels Windows shutdown?

#2330
From: Remy Lebeau (TeamB)
Date: Tue, 13 Mar 2007 18:40
24 lines
2483 bytes
"A Nonymous" <anonymous@hotmail.com> wrote in message
news:Xns98F270DA48944anonymoushotmailcom@207.105.83.66...

> Thanks for all the help.  This works.  The hook is installed and the
> routine works.  The bad news is that it doesn't show anything wrong.
> There are no false returns, at least none I can see.  If any child
thread
> can be the culprit then it could be a child thread created by a 3rd
party
> control.

Then I suggest you implement the hook inside a DLL and install it
globally for all windows in all processes.  When it does detect a
FALSE return somewhere, you can log which process and thread was
responsible, and then narrow the tracing from there.

> Can you think of anything else that would cause the Wndows
> shutdown to be canceled?

There is no other way.


Gambit
Technical Details
Message-ID: <45f6e2fe$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!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> <45f0a594@newsgroups.borland.com> <45f0a77f$1@newsgroups.borland.com> <45f0d6c1@newsgroups.borland.com> <Xns98EE722D896C6anonymoushotmailcom@207.105.83.66> <45f1a96b$1@newsgroups.borland.com> <Xns98EE9F12960D1anonymoushotmailcom@207.105.83.66> <45f1d8a5$1@newsgroups.borland.com> <Xns98EEAB7C7DA52anonymoushotmailcom@207.105.83.66> <45f1ffc0$1@newsgroups.borland.com> <Xns98EF8B2886544anonymoushotmailcom@207.105.83.66> <45f3285b$1@newsgroups.borland.com> <Xns98F270DA48944anonymoushotmailcom@207.105.83.66>

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> <45f0a594@newsgroups.borland.com> <45f0a77f$1@newsgroups.borland.com> <45f0d6c1@newsgroups.borland.com> <Xns98EE722D896C6anonymoushotmailcom@207.105.83.66> <45f1a96b$1@newsgroups.borland.com> <Xns98EE9F12960D1anonymoushotmailcom@207.105.83.66> <45f1d8a5$1@newsgroups.borland.com> <Xns98EEAB7C7DA52anonymoushotmailcom@207.105.83.66> <45f1ffc0$1@newsgroups.borland.com> <Xns98EF8B2886544anonymoushotmailcom@207.105.83.66> <45f3285b$1@newsgroups.borland.com> <Xns98F270DA48944anonymoushotmailcom@207.105.83.66>
Subject: Re: My app closes, but cancels Windows shutdown?
Date: Tue, 13 Mar 2007 10:40:35 -0800
Lines: 26
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: <45f6e2fe$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1173807870 75.83.34.171 (13 Mar 2007 10:44:30 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail