🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

WM_ENDSESSION + Win2k/WinXP

#15758
From: Frank Gruber
Date: Wed, 18 Jun 2003 15:58
20 lines
1734 bytes
I have some apps making trouble since they are
running under Win2k/WinXp. No problem with Win98/WinME.

When I receive the WM_ENDSESSION message I make all
the cleanup necessary before returning from this message, but
under Win2K/WinXP this cleanup process does not come to
the point where to return from the procedure but it is interrupted
in between by Windows. This is not a problem under Win9x/WinME.

Imortant to say that the apps which are affected are running in the system
tray
that means the TApplication's window is hidden. If the app is restored
from the system tray and is fully visible when system shutdown is initiated
the problem does not occur.

Any comments what the cause of this problem is, or suggestions for
work around the problem are welcome.

Thank's.
Frank.
Technical Details
Message-ID: <3ef08c31$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9e00bf1ef85252e4,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-18 09:03:42 PST
From: "Frank Gruber" <HVFDMIPUMFPS@spammotel.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: WM_ENDSESSION + Win2k/WinXP
Date: Wed, 18 Jun 2003 17:58:44 +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.164.214
Message-ID: <3ef08c31$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055951921 217.231.164.214 (18 Jun 2003 08:58:41 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail