从没有REGSVR32文件中创建COM对象 [英] Create COM object from file without regsvr32

查看:241
本文介绍了从没有REGSVR32文件中创建COM对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能只用DLL和无REGSVR32创建COM对象的实例?

Is it possible to create an instance of a COM object with just the dll and no regsvr32?

我在这里的主要目标是创建一个DirectShow Filter的实例并把它插入我的图,但是我不希望我们REGSVR32注册过滤器。该过滤器将是一个dll /斧头将与我的应用程序分发,并会出现在我的道路。我会知道的CLSID为好。

My main goal here is to create an instance of a directshow filter and insert it into my graph-but I don't want to us regsvr32 to register the filter. The filter will be in a dll/ax that will be distributed with my application and will be present in my path. I will know the CLSID as well.

因此,基本上所有我需要的是刚刚的同时具有DLL / AX和CLSID创建类型的实例的方法。这是可能在C#?

So basically all I need is a way to create an instance of the type while just having the dll/ax and the CLSID. Is this possible in C#?

推荐答案

听起来像是你要使用的免注册COM

Sounds like you want to use registration-free COM.

这篇关于从没有REGSVR32文件中创建COM对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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