添加到注册表,而不体现在微软Office的AddIn [英] Adding to registry without manifest in MS Office AddIn

查看:418
本文介绍了添加到注册表,而不体现在微软Office的AddIn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在在C#中的Outlook 2007的外接程序。因此,虽然使得安装文件,我需要修改注册表项。其中之一是为清单的字符串,有链接到外接程序的清单文件。通过加载此办公应用程序加载外接程序。但是,当我看着WebEx的注册表项,它亘古不变的任何清单链接。

I am making a Outlook 2007 AddIn in c#. So while making the setup file I need to modify the registry entries. One of them is is "Manifest" string which has the link to the AddIn's manifest file. By loading this the office application loads the AddIn. But When I looked at the WebEx registry entries it doesnot have any Manifest link.

为什么会这样呢?
的WebEx是怎么用出去做有一个清单链接?

Why is it so? How did WebEx manage to do with out having a Manifest link?

推荐答案

要回答你的问题,COM加载项的实施ID2Extensibility接口,必须使用注册不同的方法。具体来说,他们必须作为一个COM服务器注册,因此他们的注册是绑在注册表中InProcServer32中键。基本上,该机已经知道在哪里可以找到在Class注册表中名称的对象并加载在时尚相应的DLL。

To answer your question, COM addins that implement the ID2Extensibility interface, must utilize a different method of registration. Specifically, they must register as a COM server, thus their registration is tied to the InProcServer32 keys in the registry. Basically, the machine is already aware of where to find the object by name in the Class registry and loads the appropriate DLL in that fashion.

这篇关于添加到注册表,而不体现在微软Office的AddIn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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