Hi,
when i try to delete a file with DeleteFile function it returns 0 and the error code is 32 ( ERROR_SHARING_VIOLATION ).
Can you tell me how i can force the Deletion of the file?I know that we can mark it for deletion on restart( MoveFileEx function ), but is it there another way to do it?
Can we get a list of the file's opened handles, and then close them all and finally delete the file? If yes, what is the function to get the file's opened handles?
Thanks in advance.