Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE    [ Add a report in this area ]  
Report #:  66663   Status: Open
dexplorer.exe stay in memory after BDS exit
Project:  C++Builder Build #:  12.0.3170.16989
Version:    12.0 Submitted By:   Oleg Voychenko
Report Type:  Basic functionality failure Date Reported:  9/11/2008 1:55:06 PM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   264651
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (4 Total Ratings)
4.00 out of 5
Total Votes: 132
Description
Window cannot shut down normally because dexplorer.exe is in the memory
Steps to Reproduce:
First way:

1.Create  VCL form application project in IDE
2. Select any field in the Object Inspector and press F1
3. Document Explorer window will displayed. Close
    it by any way.
4. Open Task Manager. Dexplore will be in the process list.
5. Close IDE by any way.
6. Dexplore will stay in the processes list!

Another way:
1. Open IDE
2. Select Help-Index in the Menu
3. Document Explorer window will displayed. Close
    it by any way.
4. Close IDE by any way.
5.Dexplore will stay in the processes list!


Version Document Explorer at my computer is 9.0.21022.8 RTM
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 9/22/2008 1:23:13 AM -
I can not reprodcue your issue.
Please give us more detail(your OS, other softwares installed etc..).

Istan Velo at 11/9/2008 1:35:08 PM -
It is reproduceable!
I also have to terminate dexplorer.exe always by hand, before I shutdown! Otherwise it hangs around and don't let Windows to shutdown.

Clayton Arends at 10/19/2008 1:33:09 PM -
I do not get the "shutdown" problem the author is getting but I do get multiple "dexplorer.exe" processes hanging around in my system.  Usually I will just see one "dexplore.exe" process if I've ever launched help and then closed it.  Sometimes I've seen four such processes with a single IDE open.  If I ever find a duplicatable case I will add it to this report.

Vista Ultimate 32-bit SP1

Reinhard Ostermeier at 11/17/2008 2:14:23 AM -
I also have the same problem.

I have also Visual Studio 2005 installed, which does not have this problem.
My system:
Win XP Pro SP3
Visual Studio 2005 Pro SP1
D2009 Pro Update 1
DExplorer used by D2009: 9.0.21022.8 RTM
DExplorer used by VS2005: 8.0.50727.72 RTM

On a other computer I use VS 2008 which alse does not have this problem.
But I don't know which version of DExplorer it uses.

Reinhard Ostermeier at 11/24/2008 8:16:42 AM -
I found out one major difference between VS and D2009 in using the dexplore.exe

If I close VS IDE, and VS Help is open (visible in Taskbar), then Help is closed as well (and with it the dexplore.exe process).
But if I close D2009 IDE, and D2009 Help is open (visible in Taskbar), the the Help (and with it the dexplore.exe process) is not closed.

Closing help (VS or D2009) does not exit the dexplore.exe process (I think because of startup optimization).

But VS does the trick to close it, if it was opend by the VS IDE.

This seems to be the trick to get it working right.

This behavior would be 100% acceptable for me (at least way better then not to be able to shut down).

Regards, Reinhard.

Michael Schimmel at 1/16/2009 9:54:17 AM -
I experience exactly the same issue with the latest build 12.0.3210.17555.
Please open it again.

Roger Dunn at 7/23/2009 9:07:01 AM -
I experience the same issue with Delphi 2009, Build 12.0.3420.21218 (but I didn't want to create a separate report since it's the same issue in a different CodeGear product).  When I go to shut down, restart, or log off, most of my processes will exit, as will half of my system tray applications, but then it stops.  I can still move my mouse around, access the Start button and menus, but the computer will not finish the shut down, restart, or log off process.  I have to go into Task Manager and right-click and End Task for dexplorer.exe.  Then I start the shut down, restart, or log off process again by means of the Start menu and it does what I wanted it to do.

Alex Alexeev at 9/6/2009 11:07:09 PM -
I have Vista and D2010 and can not reproduce this issue. Can anyone else confirm that?

I believe that I'd faced this issue, when was using D2009.

Pete Goodwin at 9/21/2009 2:40:14 PM -
Still present in Delphi 2010/C++ Builder 2010

Eric Fookes at 10/5/2009 9:26:30 AM -
This issue happens in Delphi 2009 and Delphi 2010. To reproduce it, simply launch Help through the F1 shortcut. Doing so will load dexplorer.exe in memory. It's presence in memory causes failure to close Windows XP and Vista. Very annoying!

Hans Riedel at 12/25/2009 7:24:38 PM -
Same for me too with a registered Delphi 2010 Professional (December 2009 release) installed as a virtual machine using Microsoft VirtualPC 2007 running under fresh installed

- Windows XP with SP3 (english)
- Windows XP Multi Language Interface Pack for german and french
- Design "Windows Classic" and Classic Start Menu
- Updates/Hotfixes:
  KB898461, KB954550-v5, KB954459, KB976325, KB973540
- the Windows XP machine as well as the logon user is a member of an Active Directory Domain
- Microsoft Virtual Machines Additions
- Microsoft Firewall Client 2004 (which connects to ISA-Server 2004)
- all prerequisites for Delphi 2010
  - .NET Framework 3.5 SP1
    - Hotfix KB953595
    - Hotfix KB958484
  - Visual J# 2.0 Redistributable - Second Edition
- Adobe Reader 8.1.0 (german)

As already stated in other posts, the "dexplore.exe" process terminates correctly, when "RAD Studio Documentation" is launched via "Start | Programs | Embarcadero RAD Studio 2010".

"dexplore.exe" remains in memory if it has been launched via the Delphi IDE (Menu "Help | Delphi Help") even if the Help window has been closed before the Delphi IDE was closed.

It is not possible to shutdown Windows - either thru the start menu nor thru the command line using the shutdown command unless the process "dexplore.exe" has been terminated manually via the Windows Task Manager.

Would be very (!) helpful if this issue could be fixed soon!

John Landmesser at 10/6/2009 2:31:39 AM -
same for me, very  annoying because this issue seems to be there since years ??

Windows XP SP3, Delphi 2010 Pro

sysinternals Processmanager tells me:

Commandline: ""C:\Programme\Gemeinsame Dateien\Microsoft Shared\Help 9\dexplore.exe" -Embedding"


I think the startparameter "Embedding" tells us Delphi 2010 "forgets" to close this app ?!!!

I changed from Delphi 5 ( yes, very old and yes it was allways working !! ) to Delphi 2010 and i paid 475 EURO for this issue, i'm really pissed off ( sorry, in german i could find the exact expression for that )

Schrack-Seconet Software Engineer at 11/2/2009 8:41:07 AM -
For the record:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=470624

Rhys Drummond at 11/26/2009 11:20:36 AM -
So presumably, a future release of RAD Studio will also dump Document Explorer and move to 'a web browser Help solution' as well?
I have the 'dexplorer.exe prevents shutdown' issue also.  It is also a memory hog: after searching only a few pages, the process was using 138Mb. I'd love to know what it was doing.

Binzhong Zhou at 2/4/2010 3:51:26 AM -
This serious and annoying problem was reported on 9/11/2008, when Builder 10 is under developing, however, the issue still exists under Builder 10. Does anyone in Embracadero read these reports? If they don't think it's a problem, could they provide a workaround at least?!

Roger Dunn at 3/19/2010 12:49:57 PM -
I'm still experiencing this isse with Delphi 2010 with Help Update 2 installed.  All I have to do is start the Help with F1 on something, or by going to Help > Delphi Help.  Once Help comes up, if I close it, it remains in memory.  I believe that's by design so that if you press F1 again, it doesn't take so long to show up.  But after Delphi closes, it does NOT close dexplorer as it should, and Windows will not close it down before logging off, restarting, or shutting down; Windows just waits for some unexpected thing.  I'm never prompted with any sort of message box that there's a problem shutting down.  I have to go to Task Manager, sort the process names, and end the task manually.

Lastly, Embarcadero does read these, and it pays particular attention to those with lots of votes and a high rating.  They also need to be able to reproduce the issue to fix it, and my guess is that it works on many of their test and production workstations.  I can produce this 100% of the time, whether Help is open (visible) or not when I close Delphi.  But if I never start help during a session, then I don't have a problem with dexplorer sticking around.

Peter Jennings at 8/30/2010 9:38:47 PM -
Just did the Help Update 2 to Delphi 2010 and now I have the same problem.

Couldn't shut down until I ended the process.

Was surprised to find that it is an ancient issue.

Eamonn Mulvihill at 7/7/2011 6:07:16 AM -
Until this is resolved, I have a download here that might help out:
http://cc.embarcadero.com/Author/119326
http://www.facebook.com/pages/Eamonns-dexplore-shutdown-fixer


Tomohiro Takahashi at 7/7/2011 5:47:21 PM -
Thanks for the information!!
I updated the internal status of this report.

Derek Stevens at 1/12/2012 9:58:30 PM -
It is still there in XE2 (after 3 years!).  
I've installed XE2 on Windows XP & Windows 7, and both installations exhibit the same behavior: after using the help system, dexplore.exe stays in memory, and prevents Windows from shutting down.
I have to open task manager and kill dexplore.exe every time I use the help system. It is a pain in the ass.

Server Response from: ETNACODE01