In our previous episode, Henry Vermaak said:
> > Writeln file
> > Writeln file ...
> > Flush file
> 
> Have you tried using the FlushFileBuffers() Windows API?  Something like
> this:
> 
> FlushFileBuffers(TextRec(AFile).Handle);
> 
> Add "windows" to the uses clause, obviously.

He closes the file. That should sync. Sounds to me he is using some dodgy FS
(network?) driver 
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to