Link to home
Start Free TrialLog in
Avatar of XWL
XWL

asked on

How to avoid message "One or more files are out of date.." although I just built the project a second ago?

Hi there,

This is a simple question how to use VC that I couldn't find answer now. I am using VC6.0 on WindowsNT. No matter I built my project or not, whenever I tried to run the application that was built a second ago, I always get a message box saying "One or more files are out of date or do not exist. ... These files need to build: *.exe... *.obj..."

I believe that I have to change settings of the project to get rid of it, however, I couldn't find how to do it.

Could anybody give me an idea to do it? Thanks,

XWL
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mblat
mblat

Actually you problem is somewhat common in multi-developer enviroment with source control.
That often happens when clocks of developers machines not in sync.
One checks in file with time let's say 11:50.
Someone else gets ( but not changes!!!!) this file, but his clock is set for 11:40.  Now, he will have to recomplie this file every compile fo 10 minutes....

Or let's say you system clock got screwed up - same effect...


So, check time/date stamps on all you files.  Make sure they are not later that your system clock.


Hope it helps..
Avatar of XWL

ASKER

The fact is that I am only one who be able to touch the project, which is in my private directory. After building the application, I ran it immediately.  Now the problem is gone after I set all source files to "Read-Only".

It seems your idea is right. Thank you, ihance!

XWL
Avatar of XWL

ASKER

The fact is that I am only one who be able to touch the project, which is in my private directory. After building the application, I ran it immediately.  Now the problem is gone after I set all source files to "Read-Only".

It seems your idea is right. Thank you, ihance!

XWL