Re: CFileDialog dialog doesn't release program folder untill the app exits.

Tech-Archive recommends: Speed Up your PC by fixing your registry



And it would only affect the program that went through this extra effort, and I suspect
that virtually no program within Windows actually does this. So it won't change the fact
that NotePad has the directory selected.
joe

On Wed, 28 Mar 2007 07:14:22 -0700, "Tom Serface" <tom.nospam@xxxxxxxxxxxxx> wrote:

I think this is pretty normal Window's behavior. You get the same problem
in Explorer if you expand a parent folder, then try to delete one of the
kids while the folder is expanded. I think that is just how it works. You
could try changing the current folder to a different one using _chdir(), but
I haven't tried that so I don't know if it would make any difference.

Tom

"Eric" <EricLiu@xxxxxxxxx> wrote in message
news:eGCK5XRcHHA.4216@xxxxxxxxxxxxxxxxxxxxxxx
Hi, everyone:

My tester found a bug of my responsible software. However, notepad also
behaves in the same way. Launch notepad, input something, save to a
folder. Turn to Windows Explorer to delete that folder. Windows shows an
error message box, saying " Cannot delete <folder name>; It is being used
by another person or program. ....". Close Notepad, try to delete it
again. Successful.

I am astonishing about this!!!!
Any idea?

Thanks
Eric

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Change Notepad default from ANSI to Unicode?
    ... > but I have to do it every time I save something anew in the Notepad. ... Find Notepad.exe in the C:\WINDOWS folder using Windows Explorer. ... and select copy from the context menu (screen shot). ...
    (microsoft.public.windowsxp.general)
  • Re: start "task bar" problem
    ... Locate the GPEDIT.MSC program in your Windows\System32 folder. ... Run the program and expand to: ... If that doesn't help or you have Windows XP Home Edition then try this: ... Make sure you have the "Start Menu" radio button selected. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Two Logons
    ... the one on the bottom is windows set up in a previous state.. ... then Folder Options, then the View tab. ... open the original boot.ini file with Notepad. ... which installation of XP you want to keep. ...
    (microsoft.public.windowsxp.basics)
  • Re: Two Logons
    ... the one on the bottom is windows set up in a previous state.. ... then Folder Options, then the View tab. ... open the original boot.ini file with Notepad. ... which installation of XP you want to keep. ...
    (microsoft.public.windowsxp.basics)
  • Re: Error Message NTDLL.LL
    ... Rick Rogers aka "Nutcase" MS-MVP - Windows ... >>Expand a new copy from C:\I386 to the system folder. ... >>Associate Expert - WinXP - Expert Zone ...
    (microsoft.public.windowsxp.general)