View Full Version : Visual Studio auto-error-correct feature???

10-10-2005, 07:35 AM
I was working on this program (which displays models). It ran fine for me but other people complained about misplaced vertices. It turned out that when I ran the program from my projects folder (either from VC itelf or from the Release folder directly) it worked fine, but if I moved the exe to another folder I saw the same bugs.

The error was dereferencing an iterator pointing to end(), but why didn't the error occur when running from the projects folder. Did it start some to me unknown VC-feature that auto-corrects or avoid errors or something? Or is it just plain coincidence (highly unlikely as I've been debugging for, well, days)?

I use VC 2003 btw!

10-10-2005, 07:53 AM
Could it have been a difference between a debug release and a production release?

10-10-2005, 09:18 AM
Nope, the same exe all the times (release, not debug).

10-10-2005, 02:55 PM
I don't know, but I've noticed differences between running my programs from within VS and running the exe. For instance, I made a windows GUI program that was supposed to start out maximized. It worked fine running it from within VS but wasn't maximized if I opened the exe