Solved

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

Posted on 2009-07-15
3
579 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now