🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #163

App not shutting down on Windows Restart

#163
From: Regan
Date: Tue, 20 Jun 2006 17:47
8 lines
1568 bytes
I have a VCL application that is to run on a windows server.  Therefore, it needs to shut down nicely when the server is shutdown or rebooted.  Things worked fine for the application in CppBuilder 6.0.  However, as soon as I ported it to Developer Studio 2006, it will not longer shut down automatically.  When the user chooses to shut down (or restart) windows, they are presented with a End application window that they have to click on to close the app.  Otherwise, the shutdown is stopped.

I created a new test application that consisted only of a VCL form with nothing else.  This also exhibits the same behavior, so it is something with the new envirement and no additional code.

I have reproduced this on XP as well as Windows 2003 Server.

Can anyone help me on this?
Technical Details
Message-ID: <449834a0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,11b48f912c2033d3,start
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Regan" <plrtnreg@yahoo.com>
Sender: "Regan" <plrtnreg@yahoo.com>
Reply-To: "Regan" <plrtnreg@yahoo.com>
Subject: App not shutting down on Windows Restart
Newsgroups: borland.public.cppbuilder.migration
X-User-Info: 64.128.85.2     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <449834a0$1@newsgroups.borland.com>
Date: 20 Jun 2006 10:47:12 -0700
X-Trace: newsgroups.borland.com 1150825632 207.105.83.66 (20 Jun 2006 10:47:12 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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