61
General Software Discussion / Read locked file
« on: June 26, 2010, 06:07 PM »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.