Information générale
Catégorie:
Produits tierce partie
>>>>>Is there any setting to have this deferred writing turned off, or should I just close and reopen the target file every now and then?
>>>>
>>>>Uses you a buffered file ?
>>>
>>>Mmm... good idea. The source file is buffered. Didn't find any parameters in the fCreate() command that would influence any buffering, but then I could close it immediately after and do a fopen(cTargetFile, 11) (unbuffered, write-only). I'll see what this gives me.
>>
>>Dragan, Don't forget to post the result to me.
>
>fFlush() wasn't even necessary... your idea to use unbuffered LL file operation was exactly what I needed. Works perfect.
Well Dragan, was what I wanted to feel.
Certainly that an enigma remains to understand because
FCREATE() doesn't allow to disable the OS buffering.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement