Title: RE: [msvc] Open files?

> I need to find out if a file is open by more than one user/app.
>
> Is this possible?
>
> I combed MSDN and the code sites and can't find anything,
> possibly because
> I don't know what to search for.

I've just spent a small amount of time looking as well... I'm afraid it
doesn't look like you can find out. I was wondering if you could walk the
process list to find out what handles it had open, and then query each
handle to see if it referred to the file in question, thus building a list
of handles referring to your file (thus, the number of times it has bee
opened, ignoring duplicate handles)... but I can't seem to see any functions
for doing that.

--
Jason Teagle
[EMAIL PROTECTED]

Reply via email to