Solved

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

Posted on 2009-07-15
3
585 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
[X]
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
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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