The call to LoadLibrary(YourExtensionName) failed, Win32 error 0n14001, “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”

使用WinDBG, 有时需要加载一些第三方的debugger extension. 这些extension会提供一些功能, 比如说dump特定类型信息等, 帮助你完成debugging的任务.

 

在加载第三方debugging extension的时候, 如果你遇到了类似标题中的错误, 该怎么办呢?

 

原因

=========

这个第三方的extension的开发平台在出现问题的机器上不存在.

也就是说, 如果这个extension是在VS2008上开发的, 同时加载extension的机器上又没有安装VS 2008, 就会遇到这个问题了.

 

解决方案

=========

安装相应开发平台的Microsoft Visual C++ Redistributable Package.

Redistributable Package能安装Visual C++的运行时组件(runtime component), 从而解决在无VS安装的机器上运行VS开发出来的C++软件的问题.

 

参考资料:

The call to LoadLibrary(sos2) failed, Win32 error 0n14001, “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”

http://debuggingblog.com/wp/2009/04/30/the-call-to-loadlibrarysos2-failed-win32-error-0n14001-this-application-has-failed-to-start-because-the-application-configuration-is-incorrect-reinstalling-the-application-may-fix-this-problem/

posted on 2010-07-03 11:28  中道学友  阅读(4573)  评论(0编辑  收藏  举报

导航

技术追求准确,态度积极向上