🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows caching

#4522
From: Remy Lebeau (TeamB)
Date: Sat, 21 Jan 2006 00:17
20 lines
1462 bytes
"Mark Mussetter" <mark@summitrd.com> wrote in message
news:43d16dad$1@newsgroups.borland.com...

> We are reading graphic files from a Compact Flash device.

How exactly are you doing that?

> Does anyone know how to keep Windows from caching these reads?

What kind of caching are you referring to?

> Is there an API call to flush the cached data once it's already been
cached?

If you are using CreateFile() to open the files, then CreateFile() does have
a FILE_FLAG_NO_BUFFERING option available.


Gambit
Technical Details
Message-ID: <43d17dd7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43d16dad$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2ec17826448e2c23
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: <43d16dad$1@newsgroups.borland.com>
Subject: Re: Windows caching
Date: Fri, 20 Jan 2006 16:17:49 -0800
Lines: 22
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: <43d17dd7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1137802711 68.69.17.41 (20 Jan 2006 16:18:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail