Hi,
How do you enforce a buffer to flush its content into a
file (similar to fflush() in C)?
Thanks.
Printable View
Hi,
How do you enforce a buffer to flush its content into a
file (similar to fflush() in C)?
Thanks.
Don't know if you can explicitly flush it, unless there's some API call somewhere that'll do it. If my understanding's right you can get close by calling DoEvents() but it's still up to the OS to do the flushing when it's convenient.
HTH,
Toot