maybe you could try renaming the file to itself. if the file is locked, it
should return false
> Is it possible to test if a file is open by another process?
>
[quoted text clipped - 4 lines]
> would do it, though. The closest ones I could find had to do with creating
> a FileLock on a channel. But that doesn't help.
Chris Smith - 26 Nov 2005 22:30 GMT
> maybe you could try renaming the file to itself. if the file is locked, it
> should return false
No, that would depend on the operating system. Without cooperative
locking, there is no way to accomplish the requested task in a portable
way.

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation