
Free file, no program attached
Quote:
>Is there an API to check if any other program is attached or using a file.
By this I presume you mean: how do you check if a file is in use (ie. has
another program opened the file?). The simple way to do this is to just try
opening the file. If the program has locked the file (which it should if it
is writing to it) then you will get an error which you can trap.
Hope this helps,
Paul Eggleton
Softec Developments
Website: http://www.*-*-*.com/ ~srmintl/