Re: file concurrency question...



In addition to what Will mentioned, you will want to make sure that when you
open the file you set it to be "shared" so that others can use it as well.
This is especially true if you only intend to read from the file and you
don't care if others read as well. If other programs are writing to the
file while you are reading it you may find that you're not getting what you
intended. I usually try to lock others out while I'm writing, but open it
shared when reading.

Tom

"azsx" <radu_plugaru@xxxxxxxxx> wrote in message
news:1165076980.690057.239950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi! I was wondering what could happen if two different programs tried
to read/write the same file? Would it all be OK or do I have to make
some sinchronisation mechanism?



.



Relevant Pages