What runtime are you linking with? (VC++ 6.0: Project | Settings | C/C++ | Code Generation | Use run-time library)