发生类型为'System.DllNotFoundException'的未处理异常 [英] An unhandled exception of type 'System.DllNotFoundException' occurred

查看:1357
本文介绍了发生类型为'System.DllNotFoundException'的未处理异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

使用库进行图像处理.

我建立了一个单独的应用程序来比较图像.

i have built a seperate application to compare images.

此应用程序成功运行,当我尝试将该应用程序与其他应用程序集成时,我正面临着这样的错误

this application is working sucessfully and when i try to integrate this application with some other application then i am facing the error like this

发生了类型为'System.DllNotFoundException'的未处理的异常

An unhandled exception of type 'System.DllNotFoundException' occurred

其他信息:无法加载DLL(VICTW32.DLL)

Additional information: Unable to load DLL (VICTW32.DLL)

 

但正在按照与该应用程序相同的步骤进行操作

but am following the same steps as i did in that application

该dll加载成功,而该项目中没有任何错误.

the dll gets loaded without any error in that project.

但是我在这里加载它会遇到一些问题.

but i face some problems with loading it here.

我还提供了该项目所需的参考

i have also given the references that are needed for the project

现在此刻无所事事..

由于我对使用库没有太多了解,因此谁能帮助我跟踪此错误并进行修复.请..

as i dont have much idea about working with libraries, can anyone help me out to trace this error and fix it. please..

推荐答案

尝试将dll复制到应用程序可执行文件夹或Windows系统文件夹中.那你还有同样的问题吗?
Try copying the dll in to your application executable folder or the windows system folder. Do you still have the same problem then?


这篇关于发生类型为'System.DllNotFoundException'的未处理异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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