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 / C++ / MFC
  4. VS2008 Total bitching weirdness - ever seen a message about the compiler driver?

VS2008 Total bitching weirdness - ever seen a message about the compiler driver?

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++tutorialquestion
3 Posts 2 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.
  • C Offline
    C Offline
    charlieg
    wrote on last edited by
    #1

    I do a lot of work in VS2008. It's the editor I have to use for WEC 7 development. I must have 7 different device SDKs installed in my laptop. Recommendation - if you have to do multi-target development, I'd install each in their own VM. Anyway... So I'm trying to fix some things in a source repository. Made a few changes and tried to save the cpp file. It tells me the fail is locked. :doh: okay, Save As... send it to src1.cpp. Exit VS2008. Nope, there is a phantom dialog window open, I cannot leave. Well, FU VS2008, I kill off the process. Go to the source folder, try to delete src.cpp. This is what I get: "The action can't be completed because the file is open in Microsoft C/C++ Compiler Driver" Now this is completely new to me. :mad: Anyone else seen this error? I know how to ultimately make it go away, but I don't want to reboot just yet.

    Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

    J 1 Reply Last reply
    0
    • C charlieg

      I do a lot of work in VS2008. It's the editor I have to use for WEC 7 development. I must have 7 different device SDKs installed in my laptop. Recommendation - if you have to do multi-target development, I'd install each in their own VM. Anyway... So I'm trying to fix some things in a source repository. Made a few changes and tried to save the cpp file. It tells me the fail is locked. :doh: okay, Save As... send it to src1.cpp. Exit VS2008. Nope, there is a phantom dialog window open, I cannot leave. Well, FU VS2008, I kill off the process. Go to the source folder, try to delete src.cpp. This is what I get: "The action can't be completed because the file is open in Microsoft C/C++ Compiler Driver" Now this is completely new to me. :mad: Anyone else seen this error? I know how to ultimately make it go away, but I don't want to reboot just yet.

      Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      I have never seen that message but had similar problems with older VS versions. You don't need to reboot when using the SysInternals Handle[^] or Process Explorer[^] utility to close the file handle.

      Using Handle (for the command line purist)

      Execute handle with the file name as parameter to get the handle and the process ID of the application that has opened it:

      handle src.cpp

      The output looks like this (98C is the handle as hex number):

      .exe pid: 2328 type: File 98C: \src.cpp

      Then execute handle again with the -c and -p options to close it:

      handle -c 98C -p 2328

      Using Process Explorer (for the friend of mice)

      To close the handle using the ProcessExplorer, search for the file name (Ctrl+F or the Find menu), double click on the found item so that it is selected in the main window, right click on the item in the main window to open the context menu, and choose 'Close Handle'.

      Warning

      The usual disclaimer: Close only files of processes that are no longer working (has been killed or exited upon critical errors)!

      C 1 Reply Last reply
      0
      • J Jochen Arndt

        I have never seen that message but had similar problems with older VS versions. You don't need to reboot when using the SysInternals Handle[^] or Process Explorer[^] utility to close the file handle.

        Using Handle (for the command line purist)

        Execute handle with the file name as parameter to get the handle and the process ID of the application that has opened it:

        handle src.cpp

        The output looks like this (98C is the handle as hex number):

        .exe pid: 2328 type: File 98C: \src.cpp

        Then execute handle again with the -c and -p options to close it:

        handle -c 98C -p 2328

        Using Process Explorer (for the friend of mice)

        To close the handle using the ProcessExplorer, search for the file name (Ctrl+F or the Find menu), double click on the found item so that it is selected in the main window, right click on the item in the main window to open the context menu, and choose 'Close Handle'.

        Warning

        The usual disclaimer: Close only files of processes that are no longer working (has been killed or exited upon critical errors)!

        C Offline
        C Offline
        charlieg
        wrote on last edited by
        #3

        Wow, thanks for the tools. Very helpful.

        Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

        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