Reputation: 1168
I met a problem when building with Visual studio, it says one DLL is not accessible because it is currently used by another process, my question is how can I determine the "another process"?
Upvotes: 21
Views: 31947
Reputation: 38775
While Process Explorer is the best tool in general, what this error usually means when VS throws it at you is that the application you're trying to compile is still running (from an earlier run) and therefore the linker can't write its output.
Upvotes: 2
Reputation: 15055
Use the Find function (Find -> Find Handle or DLL) from SysInternals Process Explorer.
Upvotes: 1
Reputation: 121971
Process Explorer has a facility that allows you to search through the currently running processes for a specific file. To perform this search go to Find
->Find Handle or DLL...
and then enter the name of the file you are interested in.
Upvotes: 26
Reputation: 31231
You can use Process Explorer to see what processes have loaded which Dll's.
Upvotes: 0
Reputation: 70929
I would suggest you try unlocker. Helped me quite a few times.
Upvotes: 0