avatar image

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

Login with username, password and session length
  • November 13, 2018, 09:34 AM
  • Proudly celebrating 13 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 1351 times)


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