2011-03-25 227 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

相關問題