Page 1 of 1
Odd VC++6 behavior

Posted:
Feb 6, 2004 @ 5:24am
by fzammetti
Something odd just started happening a little while ago... seems that when I go to execute my project under VC++6, where it used to just rebuild the changed files (usually just one if I'm working logically), it now seems to want to rebuild a handful each time, even though they definitely have not changed.
I've played with some settings to try and fix it, but only the incremental compile option seemed appropriate, and it was already checked.
Anyone have any ideas? It's not the end of the world I suppose, but a few seconds here or there adds up after a while. TIA!

Posted:
Feb 6, 2004 @ 6:04am
by wyrd
Hmm.. *scratches head* Could it be rebuilding files that include the altered file?

Posted:
Feb 6, 2004 @ 6:11am
by fzammetti
Yeah, I thought of that too. The altered file isn't a header, and doesn't include any others except for a single header. All the other source files DO include THAT header, but it's not being changed so I don't think that matters. This source file doesn't even reference anything outside itself and the class defined in the header.

Posted:
Feb 6, 2004 @ 7:26am
by rcp
I've had this before and a reboot fixed it once and checking the clock did it the second time. I had my clock set back a month (using the clock settings as a easy way to see what day of the week it was a month ago) and thus the new .OBJ files were always dated earlier than some of the source files (which got changed before I screwed up the clock).
Other than that, make sure you don't have Adobe Photoshop 4.0 running. Photoshop causes *all* kinds of strangeness with VC6.0 on my systems.
Good Luck!

Posted:
Feb 6, 2004 @ 3:46pm
by angedelamort

Posted:
Feb 6, 2004 @ 6:22pm
by fzammetti
Well, problem solved...
I tried your suggestion angedelamort, but it didn't fix it for me. However, I then found this page:
I ran this guy's utility on the entire project (including resources) and it took care of the problem perfectly. I've written a quick batch file using the utility in case this happens again.
Thanks all!

Posted:
Feb 6, 2004 @ 7:47pm
by angedelamort

Posted:
Feb 6, 2004 @ 7:52pm
by fzammetti

Posted:
Feb 8, 2004 @ 8:06pm
by angedelamort

Posted:
Feb 8, 2004 @ 8:10pm
by fzammetti

Posted:
Feb 9, 2004 @ 3:14pm
by drgoldie