控制台应用程序中的DLL错误 [英] Dll Error in console application

查看:85
本文介绍了控制台应用程序中的DLL错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我的控制台应用程序出现此错误
无法加载DLL"my.dll":找不到指定的模块. (来自HRESULT的异常:0x8007007E)

我在bin文件夹中添加了一个dll
bin文件夹拥有执行它的所有权利
我也已将dll复制到c:/windows/system32
所以我尝试了所有步骤
但它仍然给错误.. :(

thanx
上帝保佑大家...:)

hi all
i have this error at my console application
Unable to load DLL ''my.dll'': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

i added one dll in it at bin folder
bin folder has all rights to execute it
also i have copied the dll in c:/windows/system32
so i have tried to do all the steps
but it is still giving error..:(

thanx
god bless u all...:)

推荐答案



尝试通过Visual Studio添加作为参考.

http://social.technet.microsoft.com /Forums/zh-CN/exchangesvrdevelopment/thread/3d63b671-a915-4e5e-a0b0-bd49328032d4/ [
Hi,

try by adding as a reference through visual studio.

http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/thread/3d63b671-a915-4e5e-a0b0-bd49328032d4/[^]


转到解决方案资源管理器
右键单击参考
点击添加参考
从选项卡中选择浏览
现在浏览并选择dll.
Go to Solution explorer
Right click on reference
Click Add reference
From Tab select Browse
Now browse and select the dll.


这篇关于控制台应用程序中的DLL错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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