c++ - Find out what's holding a lock on a file with WinAPIs -


at times when i'm trying delete exe file 1 of processes following error getlasterror:

error: 32 process cannot access file because being used process. 

is there way find out what's holding lock on file using c++ , winapis?

the best solution works me can based on article suggested @iinspectable. check other reply post here.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -