Article View: borland.public.cppbuilder.nativeapi
Article #5808Re: DeleteFile() returns before the file is deleted?
From: Remy Lebeau (TeamB)
Date: Mon, 04 Jul 2005 05:18
Date: Mon, 04 Jul 2005 05:18
16 lines
1380 bytes
1380 bytes
"Dennis Jones" <nospam@nospam.com> wrote in message
news:42c8b764@newsgroups.borland.com...
> The only thing that makes any sense is that DeleteFile() must be
> returning before the file system has actually deleted the file. Is
> this really the case? (caching maybe?)
According to MSDN:
"The DeleteFile function marks a file for deletion on close. Therefore,
the file deletion does not occur until the last handle to the file is
closed."
Gambit
Technical Details
Message-ID:
<42c8c873$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42c8b764@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c3568423d186a70 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42c8b764@newsgroups.borland.com> Subject: Re: DeleteFile() returns before the file is deleted? Date: Sun, 3 Jul 2005 22:18:02 -0700 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42c8c873$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1120454771 68.69.17.41 (3 Jul 2005 22:26:11 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail