Office 2007 IRibbonExtensibility should not be dual

A

Arno Schoedl

Hello,

in the Office 2007 beta 2 typelib, IRibbonExtensibility is a dual interface,
and so is AddInDesigned::IDTExtensibility2. As far as I can tell, an add-in
has to implement both because it is first loaded with IDTExtensibility2 and
then the same object is QI'd for IRibbonExtensibility. Implementing both as
dual interfaces is impossible - the two interface's dispids clash. Even if
they would not, implementing a single IDispatch with both interfaces' dispids
is hard on the implementor, because there is no attributed support for it.

Of course it currently works, because Office does not call on the IDispatch
interface. So why require it then?

Arno

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...74aa&dg=microsoft.public.office.developer.vba
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top