Today I built a MFC project under VS.net 2005. When I changed some codes and rebuilt it, it could be complied but run failed. The popup message is "应用程序启动失败因为没有找到MSVCR80D.dll,重新安装应用程序可以修复这个问题".
So I looked up this problem online, and I got the answer and the solution.
Reason: "VS.NET2005采用了一种新的DLL加载方案,编译成一个exe的时候还会配有一个manifest文件,编译的时候在输出窗口可以看到如下语句:
Compiling manifest to resources...
Linking...
LINK : E:/Project/C++/Double/Debug/Double.exe not found or not built by the last incremental link; performing full link
Embedding manifest...
Linking...
LINK : E:/Project/C++/Double/Debug/Double.exe not found or not built by the last incremental link; performing full link
Embedding manifest...
一般嵌入了这个文件