Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Close (unlock), locked File on local machine! [modified]

Close (unlock), locked File on local machine! [modified]

Scheduled Pinned Locked Moved C#
helpdatabasesqlitecomsysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Martin 0
    wrote on last edited by
    #1

    Hello everybody! My team and I is facing a big problem write now, and after two days of searching and testing we didn't succeed! We have to close a Database File (SQLite) on our local machine, which was opend from our process. This is kind of a workaround, because the Database crashes thanks to a bug in SQLite, and after that the file is locked! What we found out is that it would be much more simple, if we wanted to close a locked file from across network shared computer. Like this[^] very nice post, from Heath Steward shows. In this case we could use netapi32.dll methods. Maybe someone can point us the write direction. -- modified at 6:44 Monday 18th June, 2007 As a workaround we now start a freeware program "unlocker" which works. But this is the soulution we do not prefere (Which is all said by "workaround")! Thanks for your time! All the best, Martin -- modified at 6:48 Monday 18th June, 2007

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups