简体   繁体   English

没有生成清单的免费注册COM

[英]Registration free COM without generated manifest

Is it possible to activate a COM component registration free without using a manifest file at all? 是否可以完全不使用清单文件的情况下免费激活COM组件注册? I'd like to load from memory instead of pointing to files if possible. 如果可能的话,我想从内存中加载而不是指向文件。

I'd assume this would just mean duplicating whatever .Net does with the manifest file behind the scenes, but I'm not sure how to find out what it's doing exactly. 我认为这仅意味着在后台将清单文件复制.Net所做的任何事情,但是我不确定如何确切地知道它在做什么。

There is an Activation Context API which looks to do what you are asking. 有一个激活上下文API ,它可以按照您的要求进行操作。 I've never used it, but I came across it when I was researching registration free COM. 我从未使用过它,但是当我研究免费注册的COM时遇到了它。

See: 看到:

http://msdn.microsoft.com/en-us/library/ms973913.aspx#rfacomwalk_topic9 http://msdn.microsoft.com/en-us/library/ms973913.aspx#rfacomwalk_topic9

http://blogs.msdn.com/b/gpalem/archive/2007/03/26/avoid-registration-free-com-manifest-problems-with-activation-context-api.aspx http://blogs.msdn.com/b/gpalem/archive/2007/03/26/avoid-registration-free-com-manifest-problems-with-activation-context-api.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM