ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Read locked file

(1/1)

scancode:
Hey codies, I need your help.

I need to copy a file that's constantly "locked" by the application that's using it, WHILE it's using it. I tried patching the app to pass ShareMode = FILE_SHARE_READ|FILE_SHARE_WRITE on every call to CreateFile, but it doesn't work.

Any ideas that do NOT involve VSS?

Help would be greatly appreciated.

Update: the patch worked, *I* wasn't closing the fucking file when I had to. I deserve to be shot.

Navigation

[0] Message Index

Go to full version