受够了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这些是这个程序依赖的发行版动态库,同理,如果是调试版的发布程序,也一样把相应的调试动态库拷贝到相应目录.

相关文章:

  • 2021-09-22
  • 2021-10-07
  • 2021-10-10
  • 2021-04-24
  • 2021-06-06
  • 2021-07-24
猜你喜欢
  • 2021-09-14
  • 2021-11-30
  • 2021-06-09
  • 2021-04-25
  • 2021-05-10
  • 2021-04-26
相关资源
相似解决方案