Visual C++ 2005 addin and Outlook 2010

C

Chuckie

Hello

I have a addin that has always worked with Outlook up until the new 2010
version. They have ditched the regular toolbars and I think this is why I my
addin dll wilkl no longer load in Outlook. The situation is further
complicated in that 64bit Office will not run 32bin addin DLL files.

So, how is the average developer supposed to maintain this? How exactly,
using VS2005 can I support my addin dll for outlook and cater for Outlook pre
2010 and Outlook 2010?

Thank you for your help. Right now this situation concerns me.

Andrew
 
K

Ken Slovak - [MVP - Outlook]

You can have separate addins and installers for different versions. Or you
can support both the ribbon and command bars depending on version. Most of
my current addins do that, they have code now for command bars for Outlook
2003 (and earlier) and for Explorer bars and Inspector ribbons for 2007 and
only ribbons for 2010.

In managed code I use ComImports to import the ribbon interfaces based on a
series of blog articles by Andrew Whitechapel (a former member of the VSTO
team).

For shimming the managed code shared addins I use the shim wizard. Misha
Shneerson recently posted on his blog how to get the shimming working for
64-bit addins.

I can't speak directly to C++, which I don't use for addins, but for managed
code addins (C#) I've set the addins and shim managed aggregators to be
compiled for "Any". Then I compile 2 separate installers, one for 32-bit and
one for 64-bit.
 

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