Linker problem in MicroSoft Visual C++

This is a discussion on Linker problem in MicroSoft Visual C++ within the C++ Programming forums, part of the General Programming 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 MicroSoft Visual C++

    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
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    Posts
    369
    If the program is open, close it and then try to compile it. I did that once and it gave me that error
    I am against the teaching of evolution in schools. I am also against widespread
    literacy and the refrigeration of food.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>If the program is open, close it
    Check the task manager too (or whereever you see your running programs), if your program is listed, kill it off. If all else fails, a reboot should do the trick.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    80
    Yes...that's exactly correct. Close the window in which your program is running.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  2. linker problem with mysql
    By august_01 in forum C++ Programming
    Replies: 1
    Last Post: 04-24-2005, 11:04 AM
  3. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM
  4. Erros in Utility Header File
    By silk.odyssey in forum C++ Programming
    Replies: 4
    Last Post: 12-22-2003, 05:17 AM
  5. errors in my class....
    By o0obruceleeo0o in forum C++ Programming
    Replies: 9
    Last Post: 04-14-2003, 03:22 AM

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