The point where the debugger breaks is within ntdll (I get the disassembly window) in one case, and in _mtinitblocks() (mlock.c) in the other case. I'm trying to understand if there's something wrong with my development environment that causes "bad" code to be created right from the start. My development machine has multiple versions of Visual Studio, from 6.0 through VS2008. They have always seemed to coexist without any problems and I have no idea if there could be any conflicts in libraries or something.

If you could create this type of project without any first chance exceptions, why cant I?