CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • ADO.NET Data Services in the .NET Framework
  • Visual C++ Programming: What's new for MFC library in VC++ 2010?
  • Microsoft Visual Studio LightSwitch and What It Can Do For You
  • Displaying Files and Folders in a GridView

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old October 31st, 2009, 09:32 PM
    Brian_Jones Brian_Jones is offline
    Member
     
    Join Date: Oct 2009
    Posts: 29
    Brian_Jones is an unknown quantity at this point (<10)
    compiling/build solution error message

    problem solved

    I have a program working in Visual Studio 2005 Version 8 that didn't compile after a few days and hitting the build solution command about 30 times while I wrote my source file. The program was working fine and dandy, and then I compiled it again using build solution and it didn't compile. I copy and pasted the text into a new source file and it worked fine again. Then after things seemed to be working fine again, I copy and pasted that text back into the original source file and it wouldn't compile. I continued my work with the new source file and then hours later it stopped working again within the new source file. I copy and pasted the current text into a brand new source file and it worked fine once again. Is this normal or is there something wrong with my code?



    Here is the error message when it won't compile.

    Code:
    1>------ Build started: Project: project13, Configuration: Debug Win32 ------
    1>Compiling...
    1>project13.cpp
    1>Linking...
    1>LINK : fatal error LNK1168: cannot open C:\project13\project13\Debug\project13.exe for writing
    1>Build log was saved at "file://c:\project13\project13\Debug\BuildLog.htm"
    1>project13 - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    Last edited by Brian_Jones; October 31st, 2009 at 09:56 PM. Reason: my error
    Reply With Quote
      #2    
    Old October 31st, 2009, 09:36 PM
    Brian_Jones Brian_Jones is offline
    Member
     
    Join Date: Oct 2009
    Posts: 29
    Brian_Jones is an unknown quantity at this point (<10)
    Re: compiling/build solution error message

    oh, I know what happened. I left the exe. file open from the previous "Start Without Debugging". It all works fine now...sry

    Last edited by Brian_Jones; October 31st, 2009 at 09:57 PM.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:07 PM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.