Re: api function for force delete a file.
From: Joseph M. Newcomer (newcomer_at_flounder.com)
Date: 05/17/04
- Next message: Joseph M. Newcomer: "Re: Just to clarify my current position"
- Previous message: Joseph M. Newcomer: "Re: update window or invalidate or something"
- In reply to: Eitan: "api function for force delete a file."
- Next in thread: Eitan: "Re: api function for force delete a file."
- Reply: Eitan: "Re: api function for force delete a file."
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 16 May 2004 23:25:56 -0400
This means that the file is still being held open. For example, this could mean that you
still have vestigial traces of the process. If the process is stopped in the debugger, it
hasn't terminated so the handles it has opened are not closed. You must (a) make sure you
have truly exited the program, and are not sitting in the debugger and (b) the process is
truly gone.
And no, you can't delete the file if it is still open,
joe
On Sun, 16 May 2004 22:19:30 +0200, "Eitan" <no_spam_please@nospam.com> wrote:
>Hello,
>If a program that has opnenned a file crash with unknown reason, and I am
>trying to delete the file after that - the computer shout that the deleting
>causing sharing vialotation.
>Can I delete the file anyway (without restarting my computer) ?
>Is there any win-api function that does force-delete to the file ?
>
>Thanks :)
>
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
- Next message: Joseph M. Newcomer: "Re: Just to clarify my current position"
- Previous message: Joseph M. Newcomer: "Re: update window or invalidate or something"
- In reply to: Eitan: "api function for force delete a file."
- Next in thread: Eitan: "Re: api function for force delete a file."
- Reply: Eitan: "Re: api function for force delete a file."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|