Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

816 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

8 Experts available now in Live!

Get 1:1 Help Now