<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>COM Shim Wizards v2</title><link>http://blogs.msdn.com/andreww/archive/2006/06/09/com-shim-wizards-v2.aspx</link><description>Today we release v2 of the COM Shim Wizards. These are updated versions of the wizards we released in 2004 for Visual Studio 2003. The new wizards work with Visual Studio 2005. There's a covering article here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2005_ta/html/Office2003ShimWizard2.asp</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: COM Shim Wizards v2</title><link>http://blogs.msdn.com/andreww/archive/2006/06/09/com-shim-wizards-v2.aspx#678076</link><pubDate>Tue, 25 Jul 2006 20:46:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:678076</guid><dc:creator>Guilherme - Brazil</dc:creator><description>Hi Friends,&lt;br&gt;&lt;br&gt;I executed the articles steps, but when I build the wizardShimProject, my shared addin (that was working fine without shim) crashes. Is there something else to do than install the shared addin (from the SetupProject(without shim)) and build the wizardShimProject?&lt;br&gt;&lt;br&gt;Images about the solution are there: &lt;a rel="nofollow" target="_new" href="http://www.cin.ufpe.br/~gbs2/shim"&gt;http://www.cin.ufpe.br/~gbs2/shim&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Guilherme</description></item><item><title>re: COM Shim Wizards v2</title><link>http://blogs.msdn.com/andreww/archive/2006/06/09/com-shim-wizards-v2.aspx#678201</link><pubDate>Tue, 25 Jul 2006 23:43:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:678201</guid><dc:creator>andreww</dc:creator><description>The COM Shim Wizards generate shims for a range of different Office extension types, including COM add-ins and smart tags. They do not generate shims for automation add-ins. It seems from your screenshots that you are trying to build an automation add-in. See my blog posts here for details on how to extend the COM shim to support automation add-ins:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.officezealot.com/whitechapel/archive/2005/06/09/4756.aspx"&gt;http://blogs.officezealot.com/whitechapel/archive/2005/06/09/4756.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.officezealot.com/whitechapel/archive/2005/05/21/4728.aspx"&gt;http://blogs.officezealot.com/whitechapel/archive/2005/05/21/4728.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;From your registry screenshot, it seems that you're only registering the add-in as a COM add-in. You're not registering as an automation add-in. See here for details of how to fix that:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.officezealot.com/whitechapel/archive/2005/01/29/4005.aspx"&gt;http://blogs.officezealot.com/whitechapel/archive/2005/01/29/4005.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Also, of course, you should be registering the shim, not the managed assembly.&lt;br&gt;&lt;br&gt;Also, you don't say what you're putting in your setup project. If you're building and registering a shim, then the shim needs to go into the setup project.&lt;br&gt;&lt;br&gt;Finally, you need to provide more specific details of the &amp;quot;crash&amp;quot; you're experiencing. Even though you are not registering anything correctly, this should not result in a crash - it should merely result in the add-in and/or shim failing to load. Have you debugged your solution? Where is the crash happening? What's on the stack at the time of the crash? </description></item><item><title>re: COM Shim Wizards v2</title><link>http://blogs.msdn.com/andreww/archive/2006/06/09/com-shim-wizards-v2.aspx#755734</link><pubDate>Fri, 15 Sep 2006 13:53:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:755734</guid><dc:creator>lakr1</dc:creator><description>&lt;br&gt;Shims created for Excel 2002 (XP) does not work, RTD shims for Excel 2003 works fine though.&lt;br&gt;&lt;br&gt;I have VS2005 and COM Shim Wizard v2 and Office XP installed, and after debugging the shim the row that seems to fail is in the CLRLoader.cpp:&lt;br&gt;&lt;br&gt;IfFailGo( m_pHost-&amp;gt;CreateDomainSetup(&amp;amp;pDomainSetupPunk) );&lt;br&gt;&lt;br&gt;The HRESULT is something like &amp;quot;The process terminated unexpectedly&amp;quot;&lt;br&gt;&lt;br&gt;I also verified that the supplied demo RTD server is sufering from the same issue, so it is no just my own RTD server that fails. The managed DLL's are working fine, i.e. without the shim.&lt;br&gt;&lt;br&gt;Have you verified the RTD shim on different Office versions?&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: COM Shim Wizards v2</title><link>http://blogs.msdn.com/andreww/archive/2006/06/09/com-shim-wizards-v2.aspx#876169</link><pubDate>Thu, 26 Oct 2006 19:09:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:876169</guid><dc:creator>Mat Polutta</dc:creator><description>&lt;p&gt;Under Outlook, we ran into issues with another application having loaded the CLR (perhaps via mscoree.dll, but who knows), but not having started the CLR. &amp;nbsp;I changed the LoadCLR method in &amp;quot;CLRLoader.cpp&amp;quot; to invoke the Start() method on m_pHost ICorRuntimeHost object, even when the CorBindToRuntimeEx method returns S_FALSE. &amp;nbsp;I believe that this would be because the other shim (or mscoree) did not explicitly invoke Start(). &amp;nbsp;Not knowing the details of how Outlook loads the add-ins and Connects to them, it might be best to invoke Start(). &amp;nbsp;When the CLR has not been Started, CreateDomainSetup fails in the CreateLocalAppDomain method.&lt;/p&gt;
&lt;p&gt;Any thought given to using the new Hosting Interfaces, ie. ICLRRuntimeHost instead of ICorRuntimeHost?&lt;/p&gt;
</description></item><item><title>Creating Visio Add-ins with VSTO 2005 SE</title><link>http://blogs.msdn.com/andreww/archive/2006/06/09/com-shim-wizards-v2.aspx#1980908</link><pubDate>Thu, 29 Mar 2007 00:54:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1980908</guid><dc:creator>Chris Castillo's WebLog</dc:creator><description>&lt;p&gt;Introduction On November 2006, Microsoft released Visual Studio 2005 Tools for the 2007 Office System,&lt;/p&gt;
</description></item><item><title>Good site</title><link>http://blogs.msdn.com/andreww/archive/2006/06/09/com-shim-wizards-v2.aspx#9194106</link><pubDate>Thu, 11 Dec 2008 04:49:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9194106</guid><dc:creator>Semil</dc:creator><description>&lt;p&gt;&amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://index1.ideasor.com"&gt;http://index1.ideasor.com&lt;/a&gt; &amp;gt;they shall not pass&amp;lt;/a&amp;gt; &amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://index2.ideasor.com"&gt;http://index2.ideasor.com&lt;/a&gt; &amp;gt;cartoons weed pics&amp;lt;/a&amp;gt; &amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://index3.ideasor.com"&gt;http://index3.ideasor.com&lt;/a&gt; &amp;gt;ecuador escorts and threesomes&amp;lt;/a&amp;gt; &amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://index4.ideasor.com"&gt;http://index4.ideasor.com&lt;/a&gt; &amp;gt;illinois i-pass&amp;lt;/a&amp;gt; &lt;/p&gt;
</description></item></channel></rss>