现在的位置: 首页 > 综合 > 正文

关于vc++ 2005 发布程序的问题

2013年01月28日 ⁄ 综合 ⁄ 共 916字 ⁄ 字号 评论关闭

           拿到一个第3方的dll, 写了一个简单的程序测试这个DLL, 但是程序一启动就遇到了下面的错误:  

The application failed to initialize properly (0xc0150002). Click on OK to terminate 
the application.  

           找到事件查看器,给出如下的提示:

EventID: 32
Description: Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced     
assembly is not installed on your system.
EventID: 59
Description: Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The    
referenced assembly is not installed on your system.
EventID: 59
Description: Generate Activation Context failed for Generate Activation Context
E:\tlh1987\vs2008projects\B3DTest\Debug\B3DViews.dll. Reference error message: The operation completed
successfully.

        在系统的C:\Windows\WinSXS 文件夹下搜索的相关的VC80.CRT和VC80.MFC文件(包括dll和manifest),放到程序的目录下,运行程序,还是出现0xc0150002的错误,检查事件查看器,错误变成了只有一下一条:

EventID: 59
Description: Generate Activation Context failed for Generate Activation Context
E
:\tlh1987\vs2008projects\B3DTest\Debug\B3DViews.dll. Reference error message:

抱歉!评论已关闭.