Hi there,
can someone please tell me how to get the handle of a process wich is
currently locking a file?
Example:
Create a word-document using word, save and reopen it, then try to delete
the file while it is still open by a process. My question is "How to
determine the processhandle (or the responsible handle wich is locking the
file) of the application wich is currently locking a file by filename"
In my situation i need code to delete a file (a sys file) wich is currently
locked by a process. but i dont know the processhandle. If i have the
processhandle i first need kill this handle by corresponding threads, then i
can modify/delete the file.
Pls. post some Codesnippets or examples
--
Regards,
Mac