.dll文件无法访问 [英] .dll file not accessible

查看:198
本文介绍了.dll文件无法访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一个DLL添加到我的项目。 当我做添加引用,并尝试添加它,它告诉我:

I am trying to add a dll to my project. When I do "add reference" and try to add it, it tells me :

一提到......不能添加。请确保在访问该文件,并且它是一个有效的程序集或COM组件。

"A reference to ... could not be added. please make sure that the file in accessible, and that it is a valid assembly or COM component".

顺便说一句,我想补充g729.dll

BTW, I am trying to add g729.dll

我怎么能添加DLL?

在此先感谢, 奥菲克

推荐答案

您必须注册在寄存器基的DLL之前添加引用

You must register your dll in register base before add reference

您可以使用 Regsvr32的工具

链接:<一href="http://msdn.microsoft.com/en-us/library/ms859484.aspx">http://msdn.microsoft.com/en-us/library/ms859484.aspx

这篇关于.dll文件无法访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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