I've installed VS2005 version 8.0.50727.42 (RTM.050727-4200) Just start a simple console application, no code added and try to run it with F5 in DEBUG and RELEASE modes. With DEBUG mode the VS2005 does not run it with F5 for debugging showing message box that MSVCR80D.dll is not found. 'console1.exe': Loaded 'C:\Soft\projs\test\console1\console1\Debug\console1.exe', Symbols loaded. 'console1.exe': Loaded 'C:\WINXP\system32\ntdll.dll', No symbols loaded. 'console1.exe': Loaded 'C:\WINXP\system32\kernel32.dll', No symbols loaded. Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load The program '[1488] console1.exe: Native' has exited with code -1073741515 (0xc0000135). There is no such a problem for RELEASE build, all is running and you can go thru code as it is executed. 'console1.exe': Loaded 'C:\Soft\projs\test\console1\release\console1.exe', Symbols loaded. 'console1.exe': Loaded 'C:\WINXP\system32\ntdll.dll', No symbols loaded. 'console1.exe': Loaded 'C:\WINXP\system32\kernel32.dll', No symbols loaded. 'console1.exe': Loaded 'C:\WINXP\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\msvcr80.dll', Symbols loaded. 'console1.exe': Loaded 'C:\WINXP\system32\msvcrt.dll', No symbols loaded. By comparing project settings for release and debug modes I've found out difference in C/C++ -> Code Generation Basic runtime checks "default" in RELEASE "both (/RTC1,equiv. to /RTCsu)" in DEBUG Command lines for C/C++ in project options are: DEBUG /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\console1.pch" /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /nologo /c /Wp64 /ZI /TP /errorReport:prompt RELEASE /O2 /GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /Yu"stdafx.h" /Fp"Release\console1.pch" /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /Wp64 /Zi /TP /errorReport:prompt If we remove that /RTC option in DEBUG configuration all is fine and MSVCR80D.dll is loaded normally What's the reason for that bug if anyone encountered it?
9ine