access denied

This is a discussion on access denied within the C++ Programming forums, part of the General Programming Boards category; Evening folks. I have a bit of a problem debuging a linker error. Actually I have no idea where to ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    291

    access denied

    Evening folks.

    I have a bit of a problem debuging a linker error. Actually I have no idea where to begin.

    This is the info the compiler throws at me :
    Line = 'Cannot open output file test.exe'
    unit : c:\dev-cpp\mingw32\bin\ld.exe
    messge : permission denied

    Btw, using Dev-c++ 5.0 on win98

    please be gentel, Im a novice.

    Appreciate any response.

  2. #2
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Close your program before recompiling it.

    Otherwise check that test.exe is writeable: Is it readonly? Do you have harddrive space? etc.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  3. #3
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Also security settings set by some dumb administrators on a network can cause this, are you on a network?

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    You may also find that the program is just continually looping in the background...try CTR-ALT-DEL and see if its still running

  5. #5
    Registered User
    Join Date
    Oct 2002
    Posts
    291
    Well what I did was try to delete test.exe but windows wouldnt allow me, telling me the file was still in us even though I'd closed all programs. So I booted into dos mode and delete test.exe, booted back into windows and no more access denied. Have no idea why this happend but glad it fixed. Thanks for the response.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 02-10-2009, 10:02 AM
  2. Access is denied when listen on a port
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-29-2008, 09:01 AM
  3. Access denied on adding another registry value
    By BobS0327 in forum Windows Programming
    Replies: 0
    Last Post: 01-09-2006, 07:10 PM
  4. c:\boot.ini access denied!
    By Bajanine in forum Tech Board
    Replies: 8
    Last Post: 11-17-2005, 10:52 AM
  5. Access denied on W2k admin account
    By salvelinus in forum Tech Board
    Replies: 11
    Last Post: 02-09-2003, 09:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21