Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Delphi 2007 "Ending Program...Please Wait" dialog when closing XP.

Posted on 2009-07-15
3
583 Views
Last Modified: 2013-11-23
I have Delphi 2007 program that is getting a "Ending Program...Please Wait" dialog when I close Windows XP.  Why is the program getting causing message?
0
Comment
Question by:gdavidshaw
3 Comments
 
LVL 8

Expert Comment

by:thiagoblimeira
ID: 24863673
Try using User Profile Hive Cleanup

http://www.microsoft.com/downloadS/details.aspx?FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582&displaylang=en

The User Profile Hive Cleanup service helps to ensure user sessions are completely terminated when a user logs off. System processes and applications occasionally maintain connections to registry keys in the user profile after a user logs off. In those cases the user session is prevented from completely ending.

0
 

Author Comment

by:gdavidshaw
ID: 24863768
What I am really looking for is the Sequence I should be going through to close the program.  I developed the program and I do not understand why it is having this problem.
0
 
LVL 2

Accepted Solution

by:
gtrifidis earned 250 total points
ID: 24867358
Your application propably hangs and does not respond to the
WM_QUERYENDSESSION that Windows are sending to all apps when they are restarting or shutdown

Read this it might help you.
http://msdn.microsoft.com/en-us/library/aa376890(VS.85).aspx
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question