免責聲明

Disclaimer (免責聲明)
繼續閱覽代表您接受以上的免責聲明.
To continue reading means you accept the above disclaimer.

2011年4月12日 星期二

COM Shim and ComShim Wizard

//=== There are a series of articles explaining COM Shim :
Part1 : COM Shim Background / Installation / Startup example
 http://msdn.microsoft.com/en-us/library/aa159894(office.11).aspx (office2003)
 http://msdn.microsoft.com/en-us/library/bb508939.aspx (office2007)

"...
The Visual Studio Tools for Office(VSTO) loader is an unmanaged DLL that acts as a shim to load the .NET CLR and then your custom managed assembly.
A custom COM shim has exactly the same behavior.

If you use the VSTO loader, you can set Office macro security to High (or Very High in Office 2003), because a managed smart tag loaded by the VSTO loader is not subject to Office macro security checking at all.
..."


Part2 : ComShimWizard for VS2010
http://blogs.msdn.com/b/mshneer/archive/2010/03/19/com-shim-wizards-for-vs-2010.aspx

Part3 :  How to get a working 32-bit shim wizard to work with 64-bit of Office
http://blogs.msdn.com/b/mshneer/archive/2010/02/24/taking-com-shim-wizards-to-64-bit.aspx



//=== COMShim Wizard download
COMShim Wizard for Office2007 + VS2008/VS2005
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3e43bf08-5008-4bb6-aa85-93c1d902470e&DisplayLang=en


Older version download
COMShim Wizard for Office2003
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=4C586367-C733-4C68-9971-373C180EC114&displaylang=en

沒有留言:

張貼留言