CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2000
    Posts
    21

    Error with Visual C++

    Hi everybody,

    After changing something (but what ???) in my workspace configuration, I have the following dialog box before executing my application :

    One or more files are out of date or don't exist :
    myapp.exe
    myapp.res

    What is wrong in my workspace configuration ? Which file do I have to modify or to delete to fix this "bug" ?

    Thanks...


  2. #2
    Guest

    Re: Error with Visual C++

    There is nothing wrong, just rebuild the application.


  3. #3
    Join Date
    Mar 2000
    Posts
    21

    Re: Error with Visual C++

    Sorry, even after rebuilding the application, the error message still appears. Cleaning the files has the same effect.

    What is wrong in my project parameters then ?

    Thanks...


  4. #4
    Join Date
    Mar 2000
    Location
    Islamabad, Pakistan
    Posts
    168

    Re: Error with Visual C++

    first press Clean and then Rebuild All.
    i hope it 'll work.



    ...---.....
    Hassan Zia
    [email protected]
    ...---.....

  5. #5
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    1,793

    Re: Error with Visual C++

    Hi...
    i had the same problem when i change thed system date and time..
    Check your date...
    and then rebuild all..
    (i.e in the lower right corner of the task bar)
    HTH
    kishk91


    [email protected]
    http://www.path.co.il
    ICQ: 13610258

  6. #6
    Join Date
    Mar 2000
    Posts
    21

    Re: Error with Visual C++

    Hi everybody,

    After cleaning and rebuilding the project, the problem still exists. It only affects the app.res and app.exe files.

    Here is what I have seen : with other projects, if you don't change anything in your files, when building the app.exe once again, the output window displays :
    app.exe - 0 error(s) 0 warning(s)

    With my project, even if nothing was changed, I always have the following message :
    Compiling resources...
    Linking...
    app.exe - 0 error(s) 0 warning(s)

    Maybe that detail could be useful... I think one or more files have been erased or corrupted. Which one so ???
    Thanks a lot.


  7. #7
    Join Date
    Mar 2000
    Location
    NY
    Posts
    15

    Re: Error with Visual C++

    I had this same problrm once and couldn't fix it either. Fortunatly, I did not make a lot of changes and just closed the project and workspace with out saving them and reopened it. The problem was gone.


  8. #8
    Join Date
    Oct 1999
    Location
    UK
    Posts
    81

    Re: Error with Visual C++

    Have any of your resource files (either the .rc, or any .bmp, .ico etc.) somehow picked up
    a timestamp later than today's date and time? Look in explorer, sorted by "modified" to check. This
    can happen if your PC's clock has been messed with (as someone said earlier) or maybe if
    you've copied a bitmap or something from another machine with an erroneous clock. This
    might cause VC++ to think your exe is out-of-date, even if it has just been built, as
    there is perpetually a more recent source-file around. It's a theory anyway...



  9. #9
    Join Date
    Mar 2000
    Posts
    21

    Re: Error with Visual C++

    OK !

    I've found what was wrong in my project ! I had changed for a reason that I cannot remember, the system date in my computer.
    Some hours after, I decided to create additional icons to my project !!!

    When I saw that the system date was not exact, I changed it once again...

    The error message appeared then ! To resolve the problem, I just saved once again the "out of date" incriminated files...

    Thanks a lot for your help.


  10. #10
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    1,793

    Re: Error with Visual C++

    Hi...
    its exaclty what i told you...
    read my previous post...
    :--)
    anyway... im glad you back on track again...
    Regards

    [email protected]
    http://www.path.co.il
    ICQ: 13610258

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured