指定的模块找不到0x8007007E [英] the specified module could not be found 0x8007007E

查看:1284
本文介绍了指定的模块找不到0x8007007E的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

里面,当我通过我的code正在加紧Form的构造,在同样的形式宣布一个方法被调用。之前,我可以在方法步骤里面,我得到消息System.IO.FileNotFoundException指定的模块找不到(从HRESULT异常:0x8007007E)。该成员方法我试图进入被宣布不安全的,因为它涉及的非托管C ++ code,但就像我说我永远不能踏入方法反正。

Inside the constructor of a Form when I am stepping through my code, a method declared in the very same form is called. Before I can step inside the method, I get a System.IO.FileNotFoundException with message "The specified module could not be found. (Exception from HRESULT: 0x8007007E)". The member method I try to enter is declared unsafe because it deals with unmanaged C++ code, but like I said I can never step into the method anyways.

因为它听起来像一个DLL依赖的问题,我跑的Dependency Walker。依赖学步车只能说明问题SHLWAPI.DLL下MPR.DLL。该问题的方法是WNetRestoreConnectionA,我永远不会调用。依赖学步车常见问题表明,这不是一个问题 http://dependencywalker.com/faq.html 。此外,这是不是一个Web应用程序或任何东西。我遗憾的是坚持与VS2005。

Since it sounds like a DLL dependency issue, I ran Dependency Walker. Dependency walker only shows problems with MPR.DLL under SHLWAPI.DLL. The problem method is WNetRestoreConnectionA which I never call. The dependency walker FAQ suggests that this is not a problem http://dependencywalker.com/faq.html. Also, this is not a web application or anything. I am unfortunately stuck with VS2005.

什么是一些可能的原因出现这个问题?什么任何想法我可能会丢失或我怎么能调试这个问题?

What are some possible reasons for this problem to occur? Any ideas on what I could be missing or how I could debug this problem?

推荐答案

错误发生时,.NET运行时即时编译器你即将踏入,因为它找不到所使用的类型之一方法方法。

The error is occurring when the .Net runtime JITs the method you're about to step into, because it couldn't find one of the types used by the method.

究竟是什么,你不能踏进做,而且它使用什么类型/方法的方法是什么?

What exactly does the method that you can't step into do, and what types / methods does it use?

这篇关于指定的模块找不到0x8007007E的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆