Why type library marshaling? Type library marshaling is the most general type of marshaling. It’s a form of standard marshaling but doesn’t require that you supply your own proxy-stub components: instead, you use the IDispatch marshaler supplied by COM in oleaut32.dll. The IDispatch marshaler can be used by IDispatch, IDispatch-derivative interfaces, and even custom interfaces (derived from IUnk..