首页 / C# / 如何使用C#中未注册的dll?
如何使用C#中未注册的dll?
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了如何使用C#中未注册的dll?,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含884字,纯文字阅读大概需要2分钟。
内容图文
![如何使用C#中未注册的dll?](/upload/InfoBanner/zyjiaocheng/688/76c3aa25867a4c4380accb4004a43807.jpg)
我有一个需要通过c#访问的自定义dll(未注册).如何在不注册DLL的情况下执行此操作?
编辑:这是一个C dll.
解决方法:
查看Registration-Free COM Interop:
Registration-free COM interop
activates a component without using
the Windows registry to store assembly
information. Instead of registering a
component on a computer during
deployment, you create Win32-style
manifest files at design time that
contain information about binding and
activation. These manifest files,
rather than registry keys, direct the
activation of an object.Using registration-free activation for
your assemblies instead of registering
them during deployment offers two
advantages:
- You can control which DLL version is activated when more than
one version is installed on a
computer.- End users can use XCOPY or FTP to copy your application to an
appropriate directory on their
computer. The application can then be
run from that directory.
内容总结
以上是互联网集市为您收集整理的如何使用C#中未注册的dll?全部内容,希望文章能够帮你解决如何使用C#中未注册的dll?所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。