2011-03-25 217 views
0

以下是我在输出窗口得到的错误无法找到指定的模块。 (异常来自HRESULT:0x8007007E)

A first chance exception of type 'System.NullReferenceException' occurred in ImageEditorPlugin.dll 
A first chance exception of type 'System.IO.FileNotFoundException' occurred in ImageEditorPlugin.dll 
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll 
A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll 
The program '[3884] FlirBuildIR.vshost.exe: Managed' has exited with code 0 (0x0). 

请帮我在这

+4

您还需要告诉我们您所做的惹恼此错误。 – 2011-03-25 08:55:14

+0

我已经通过按F5构建了我的应用程序,它显示以下错误。“--------------------------- 应用程序失败 - ------------------------- 无法找到指定的模块(从HRESULT异常:0x8007007E) – suman 2011-03-25 09:05:59

回答

1

看来你ImageEditorPlugin.dll试图访问不文件存在..

+0

我们正在加载dll的运行时从应用程序目录中。尽管ImageEditorPlugin.dll存在于应用程序目录中,但它无法加载并且通过一个例外 – suman 2011-03-25 09:13:19

+0

也许ImageEditorPlugin取决于附加的dll,不存在? – 2011-03-25 09:14:58

+0

但是当我直接从debug/release文件夹打开exe时,它工作正常。当我在VS2008中运行它时,它通过上面解释的异常 我在Dependency Walker中打开了exe,它显示IEFRAME.DLL的警告为“警告:至少有一个模块具有由于延迟加载相关模块中缺少导出功能导致未解决的导入“ – suman 2011-03-25 09:21:11

相关问题