If one or more processes access the same file, how do I handle synchronisation? Is there a way I can lock a file when I am reading it?
Printable View
If one or more processes access the same file, how do I handle synchronisation? Is there a way I can lock a file when I am reading it?
Of course!
See LockFile documentation:
http://msdn.microsoft.com/library/de...e/lockfile.asp