How can one programmtically determine what process or user is using a particular file? I want my program to replace and/or delete some files that are in use when they should not be in use.
Printable View
How can one programmtically determine what process or user is using a particular file? I want my program to replace and/or delete some files that are in use when they should not be in use.
What kind of files?
There is a tool on this site for DLLs - "Who's Locking?" v1.3
http://www.codeguru.com/Cpp/W-P/dll/article.php/c3641/
Awesome. Thanks. That is just what I needed! And it works!
You are welcome.
Unfortunately, I can't take the credit - I did not write that tool...