Re: How to wait for file closing?

new topic     » goto parent     » topic index » view thread      » older message » newer message

After the last write, just before the fclose, place this statement: fflush (file); That forces Windows to write everything in the buffer to disc right away. Otherwise Windows won't write anything until it gets around to it, when it needs the buffer for something else, or when you shut down. fflush followed by fclose should make the file available for your Euphoria program as soon as you need it.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu