Re: mscoree.dll creating new appdomain with local configuration

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi =?Utf-8?B?Q2FsaW5nYQ==?=,

It is not my idea to replace mscoree.dll after all, but I would like know if
mscoree.dll would handle some undocumented registry entries.

I'm not too savvy in all this but...

From some acquaintance with Shared COM Add-ins for Office I know from the
documentation that ALL managed COM Add-ins use mscoree.dll by default. This can
lead to problems: if one Add-in fails, then all Add-ins will fail because
mscoree.dll will "get the blame". The COM apps don't see/recognize anything
else.

Therefore, the recommendation is to use a SHIM to take the place of mscoree.dll
as the "go-between". I'd think you could trim the shim to do what you need,
although I can't begin to tell you how. Look up the term SHIM on msdn and in
the knowledge base.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • Re: How .NET Garbage collection is affected my Word PIA Add-In
    ... Now we have written a SHIM, ... and have the problem now with the garbage collection: Word add-in is ... This reply is posted in the Newsgroup; ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: InprocServer32/mscoree.dll issue
    ... yesterday I started building the shim solution ... You should NOT install your Add-in to work with mscoree.dll. ... 4)Would it be an issue if I just always set this registry entry to the full ... This reply is posted in the Newsgroup; please post any follow question or reply ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: my add in is not working in word but its working in outlook why ?
    ... this newsgroup targets Word VBA... ... Whether you use a Shim, or the add-in is running in the shared mscoree ...
    (microsoft.public.word.vba.general)