注册COM [英] Registering COM

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

问题描述

我一直在寻找一些有问题的注册C#.Net类库(COM)的方法。我看到在使用LoadLibrary()加载库后,代码获取DLLRegServer函数的proc地址。但是我的C#.Net COM类库(通过
AssemblyInfo文件创建)似乎不包含这样的函数。如何以编程方式注册这样的dll?

I have been looking for some method to problematically register a C#.Net class library(COM). I see that after loading the libraryusing LoadLibrary() the code gets the proc address of DLLRegServer function. But my C# .Net COM class library( created via AssemblyInfo file) does not seem to contain such a function. How can I register such a dll progrmatically?

推荐答案

有一个.NET COM DLL吗?你在哪里想出来的? .NET是.NET,COM是COM,它们是两个不同的平台。不需要注册.NET DLL。需要注册COM DLL。
There is a .NET COM DLL? Where did you come up with this? .NET is .NET and COM is COM, which are two different platforms. A .NET DLL does not need to be registered. A COM DLL needs to be registered.


这篇关于注册COM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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