Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Curiousity on a Wish rating
Message
De
09/02/2003 18:16:37
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
08/02/2003 18:34:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00748446
Message ID:
00751225
Vues:
29
>>It is obvious to me that I am able to write "through the cache" on the server (as MS puts it) from a client machine using FILE_FLAG_WRITE_THROUGH (just like SQL Server does).
>
>Well I can't tell for sure. I see FILE_FLAG_WRITE_THROUGH as applicable ONLY in the CreateFile, so it seems applicable to all WRITE I/O to the file. I was reading about FlushFileBuffers and it seems more applicable for FLUSH, at least as I understand things.

I'll take one or the other. If I was asking for the "community" in general, I would ask for FILE_FLAG_WRITE_THROUGH which imposes less of a responsibility (to "flush") on the application programmer. A compromise could be both, with a "toggle" for opening files with FILE_FLAG_WRITE_THROUGH.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform