BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

A Train-Wreck Waiting To Happen: Managed Code and the Windows Shell

| by Jonathan Allen Follow 6 Followers on Dec 20, 2006. Estimated reading time: less than one minute |

The CLR has a major design flaw; each process can only have one. Say for example you have two add-ins for Outlook, where one requires CLR 1.1 and the other CLR 2.0. If the CLR 2.0 is loaded first, the 1.1 add-in will be forced to use the 2.0 runtime. If the one that needs CLR 1.1 is loaded first, the other one cannot be started at all.

Things get far worse when your add-in is an in process extension for the Windows shell. Suddenly the CLR version used by the extension is forced upon every application that displays a file open dialog. Essentially this means managed shell extensions are time bombs set to go off the next time the CLR is updated. Jesse Kaplan and Raymond Chen discuss this more detail.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT