topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday December 14, 2024, 5:12 am
  • Proudly celebrating 15+ 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 2736 times)

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • 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 »