Article View: borland.public.cppbuilder.nativeapi
Article #15907Re: File flush under Windows 2000 and Windows 98
From: Remy Lebeau (TeamB)
Date: Sat, 07 Jun 2003 00:52
Date: Sat, 07 Jun 2003 00:52
17 lines
1510 bytes
1510 bytes
"Lapo" <lapoguidi@inwind.it> wrote in message news:3ee12c29@newsgroups.borland.com... > I suppose that Windows 2000 and 98 or NTFS > and FAT32 manage the file flush in a different > way. So there's a way to have the file (correct and > working) also under Windows 98 like under > Windows 2000? In other words: There's a way to > solve this problem? Perhaps have a look at the FILE_FLAG_WRITE_THROUGH flag of CreateFile()? There is also a FlushFileBuffers() function you could try calling periodically. Gambit
Technical Details
Message-ID:
<3ee14a2b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ee12c29@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f9a8db0f3611b1e5 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-06 19:16:28 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ee12c29@newsgroups.borland.com> Subject: Re: File flush under Windows 2000 and Windows 98 Date: Fri, 6 Jun 2003 17:52:42 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3ee14a2b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054951979 207.175.226.26 (6 Jun 2003 19:12:59 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail