Thread: visual studio probelm i think

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    19

    visual studio probelm i think

    when i complie i get this message now
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppClea n.targets(74,5): warning : Access to the path 'D:\3rd year project entity ver 1 - Copy\Debug\GraphicsAssign1.exe' is denied.


    this is my debug running exe
    this is what visual studio created in the first place, but it cant seam to over write it
    and i have tryed manually to delete it but with no luck , it says that it cant

    any idea whats wrong here

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Are you sure you stopped debugging? If your program is still running in the background, it' executable file cannot be overwritten.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    214
    Like nvoigt said, check your running applications. Most likely your exe is not ending. I've had this problem before. Mine had to do with multiple threads and at least one of them taking a while to end. Poor code on my part. Fixed the code, fixed the problem.

  4. #4
    Registered User
    Join Date
    Jan 2010
    Posts
    17
    I have had this happen before, sometimes when I have still had the program open from previous debugging, as others have said. I have also had this happen randomly and after recompiling it again it has worked. Also I have read somewhere that this could be cause if your AntiVirus\Malware programs are interfering, so if you still haven't solved this try disabling your security applications and rebuilding.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual C++ and Visual Studio 2010
    By 03jh01 in forum C++ Programming
    Replies: 5
    Last Post: 10-03-2010, 04:03 AM
  2. need Help with visual studio Help!
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 04-17-2008, 02:26 PM
  3. visual studio 6 and visual studio.net difference
    By gemini_shooter in forum Tech Board
    Replies: 5
    Last Post: 02-04-2006, 01:32 AM
  4. Replies: 1
    Last Post: 05-26-2004, 09:59 AM
  5. Visual Studio .net
    By kybert in forum Windows Programming
    Replies: 0
    Last Post: 09-15-2002, 12:33 PM