in reply to How do I test to see if another process is writing to a file (in Windows)
Sure, just open the file w/o sharing "write" access. Such an open will fail if something currently has the file open for writing. Use Win32API::File::createFile() to easily do this.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I test to see if another process is writing to a file (in Windows) (!share)
by jmurphy (Acolyte) on Sep 25, 2007 at 07:37 UTC | |
by tye (Sage) on Sep 25, 2007 at 07:46 UTC | |
by goibhniu (Hermit) on Sep 27, 2007 at 15:47 UTC |