🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7934

Re: Missing data from network writes (Win2K client and server)

#7934
From: Ed Mulroy [TeamB]
Date: Wed, 08 Dec 2004 21:03
11 lines
1414 bytes
Have you tried specifying FILE_FLAG_WRITE_THROUGH and
callingFlushFileBuffers?

Also, I almost never use FILE_SHARE_*  on a file I am creating
a file.  I want to get all of the data to the disk first.  Only then do I
want anyone to have a chance to access it.

.  Ed

> Andrue Cope wrote in message
> news:41b731e9$1@newsgroups.borland.com...
Technical Details
Message-ID: <41b76c0b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41b6de1f$1@newsgroups.borland.com> <41b731e9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,99122155c7605386
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41b6de1f$1@newsgroups.borland.com> <41b731e9$1@newsgroups.borland.com>
Subject: Re: Missing data from network writes (Win2K client and server)
Date: Wed, 8 Dec 2004 16:03:52 -0500
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: 24.74.175.102
Message-ID: <41b76c0b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102539787 24.74.175.102 (8 Dec 2004 13:03:07 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail