VS C++ 2005 have a controversal bug, signaled many times in various contexts, but not solved yet.
At compiling time you receive a funny:
Optimizing Profile Crash
An internal error occurred in the compiler, msc1.cpp, line 1392
In the support forum, various strange situation in which the Crash occour was exposed, here I add another situation, not reported anywhere:
Autocad2005 + WinAmp running
If WinAmp is not running, the crash occurrences decrases of the 50%, but if you make some String Casting, the occurrences incrases of the 50%.
Hope that in the new VS2008 this bug will be *Totally* Solved.