How can I check whether a file is already open? Is it possible to identify who has opened the file?
I've tried to check this using an exception handler like this:
*Check the file exists*
*Open the file with TFileStream*
*File isn't already open*
*File is already open*
however this seems to cause an access violation depite my attempts to handle the exceptions. Can I check whether the file is open without using exceptions? Cheers for your help.
P.S. If you know ANYTHING about Metafiles, then why not check out my question which is loitering, unanswered, at the bottom of this list:
(Translucency in Metafiles)
Lots of points on offer.