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. Database & SysAdmin
  3. System Admin
  4. How to delete "in use by another process " file in XP?

How to delete "in use by another process " file in XP?

Scheduled Pinned Locked Moved System Admin
c++helptutorialquestion
3 Posts 3 Posters 3 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.
  • V Offline
    V Offline
    Vaclav_
    wrote on last edited by
    #1

    While compiling my C++ application my XP froze. After recovery my app will not compile. It , the entire compiler(!) , quits “for unknown reasons” and asks me to send error report message to MS! It appears that the file containing dependencies went puff. I tried to rename it and got “cannot do, file in use”, I tried to delete it with same motherly and stupid advice from MS. I am sure my VC++ compiler can rebuild the file, but I need to get rid of it first. I am pretty ignorant using command, and GUI in XP won't do. Any constructive advise will be greatly appreciated. Thanks for your time. Vaclav PS If you feel this is in wrong forum - keep it to yourself. I need an answer, not a sermon.

    L 1 Reply Last reply
    0
    • V Vaclav_

      While compiling my C++ application my XP froze. After recovery my app will not compile. It , the entire compiler(!) , quits “for unknown reasons” and asks me to send error report message to MS! It appears that the file containing dependencies went puff. I tried to rename it and got “cannot do, file in use”, I tried to delete it with same motherly and stupid advice from MS. I am sure my VC++ compiler can rebuild the file, but I need to get rid of it first. I am pretty ignorant using command, and GUI in XP won't do. Any constructive advise will be greatly appreciated. Thanks for your time. Vaclav PS If you feel this is in wrong forum - keep it to yourself. I need an answer, not a sermon.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      This sometimes occurs when some task (maybe the compiler) does not terminate correctly and is holding the file open. Try using task manager to see if there are any compiler or visual studio tasks still running. If all else fails, reboot the PC and start again by cleaning your project before rebuilding.

      Use the best guess

      U 1 Reply Last reply
      0
      • L Lost User

        This sometimes occurs when some task (maybe the compiler) does not terminate correctly and is holding the file open. Try using task manager to see if there are any compiler or visual studio tasks still running. If all else fails, reboot the PC and start again by cleaning your project before rebuilding.

        Use the best guess

        U Offline
        U Offline
        User 10194687
        wrote on last edited by
        #3

        Nice information, thanks for sharing.

        Retail Boxes

        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