The shim is a Microsoft Visual C++ Active Template Library (ATL) COM DLL. It exposes a COM-creatable class that acts as a proxy to the real managed extension class.you can (and should) use a COM shim to write managed add-ins, smart tags, or real-time data components for Microsoft Office