Linker problem in Visual C++ 6.0

This is a discussion on Linker problem in Visual C++ 6.0 within the Windows Programming forums, part of the Platform Specific Boards category; Hi. Please help me. I'm doing some programming involving DirectX. Everything was working out just fine when all of a ...

  1. #1
    Christer
    Guest

    Angry Linker problem in Visual C++ 6.0

    Hi.

    Please help me. I'm doing some programming involving DirectX.
    Everything was working out just fine when all of a sudden the compiler gave me this:

    --------------------Configuration: projektDelta - Win32 Debug--------------------
    Linking...
    LINK : fatal error LNK1168: cannot open Debug/projektDelta.exe for writing
    Error executing link.exe.

    projektDelta.exe - 1 error(s), 0 warning(s)


    I had been able to compile and run the program many times before and the compiler didn't complain.

    Does anybody know what's wrong and how do I fix it?

    Best Regards,
    Christer

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    If you looked in the help you will see:

    LNK1168

    cannot open filename for writing

    The given file does not have write permission.

    May be your program is still running, or has crashed & Windows thinks it is still running (try a reboot). Or perhaps you have (somehow) changed the file permission on the exe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  2. ras.h errors
    By Trent_Easton in forum Windows Programming
    Replies: 8
    Last Post: 07-15-2005, 10:52 PM
  3. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM
  4. Visual Studio 6.0 Help
    By L_I_Programmer in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2003, 09:35 PM
  5. Visual Basic Adodc Problem
    By rahat in forum Windows Programming
    Replies: 1
    Last Post: 01-20-2002, 05:55 AM

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