COM SHIM for migrated code from VS2003 to VS2008

  • Thread starter vrkorada[Hotmail]
  • Start date
V

vrkorada[Hotmail]

Hi,
We have developed a managed COM add-in for Excel using Visual Studio 2003
long back and this does not have the COM SHIM wrapper.

Recently we have upgraded (recompiled) the code in VS 2008. Since we haven't
created the project in VS 2008 and just recompiled, do we need to build the
COM SHIM wrapper?

Best regards,
Venkataramana
 
K

Ken Slovak - [MVP - Outlook]

If this is a shared addin you should be shimming it, otherwise it lives in a
shared AppDomain instead of its own AppDomain. That means that if another
addin that lives there crashes it will crash your addin and if you crash it
will crash others. The best practice is to shim shared addins.
 
Top