Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 26, 2016, 04:14:51 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Read locked file  (Read 1067 times)


  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 638
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Read locked file
« on: June 26, 2010, 06:07:45 PM »
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.
« Last Edit: June 26, 2010, 06:17:19 PM by scancode »