MFC9运行环境

受够了VC6,尝试下用MFC9来写,运行程序需要的依赖库。

VC2008的安装目录下有两个目录,

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT  
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.MFC  
只要将这两个目录下的文件一同拷贝到发布程序的同一目录下:

Microsoft.VC90.CRT.manifest  
msvcr90.dll  
msvcp90.dll  
msvcm90.dll  
Microsoft.VC90.MFC.manifest  
mfc90.dll  
mfc90u.dll  
mfcm90.dll  
mfcm90u.dll这些是这个程序依赖的发行版动态库,同理,如果是调试版的发布程序,也一样把相应的调试动态库拷贝到相应目录.

posted @ 2010-10-26 15:56  kenter  阅读(851)  评论(0编辑  收藏  举报