在项目中添加Dll文件 [英] Adding Dll File in Project

查看:97
本文介绍了在项目中添加Dll文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何在Project.I中添加dll文件尝试了以下过程,但它无法正常工作:

正确的解决方案资源管理器 - >添加 - >参考

在我的系统中选择dll文件。



问候

Balamurugan

Hi,
How to add dll file in Project.I have tried the below process but it is not working:
Right ckicking Solution Explorer->add->Reference
selecting the dll file in my system.

Regards
Balamurugan

推荐答案

看一下这个链接



http://msdn.microsoft.com/en-us/library/7314433t(v = VS.90)的.aspx [<一个href =http://msdn.microsoft.com/en-us/library/7314433t(v=vs.90).aspx\"target =_ blanktitle =New Window> ^ ]
Have a look at this link

http://msdn.microsoft.com/en-us/library/7314433t(v=vs.90).aspx[^]


您好,



您正在以正确的方式添加参考库。如果您使用的是Windows代码的DLL,那么您应该使用DLLImport而不是添加引用。



为免我们知道它是否无效,如果有的话也会发布错误信息。



Best运气,
Hi,

You are doing the right way to add the reference library. if you are using DLL of the windows code then you should use DLLImport instead of adding reference.

Lest us know if it is not working, also post the error message if any.

Best luck,


如果你使用的是第三方dll,那么你需要先注册那个dll。
If you are using third party dll then you need to register that dll first.


这篇关于在项目中添加Dll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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