Mason Bendixen's COM Interop Notes

CoSetProxyBlanket not supported from managed code

COM objects are represented in managed code by runtime callable wrappers. I have written a...

Author: MSDN Archive Date: 04/18/2007

The mapping between interface pointers and runtime callable wrappers (RCWs)

The term COM object is frequently thrown around, but people really access interfaces off of objects....

Author: MSDN Archive Date: 04/18/2007

Advanced to intermediate COM programmers are well aware of the problems with dual interfaces. I...

Author: MSDN Archive Date: 04/17/2007

A single Interop assembly does not work for different architectures

One of the exciting things about managed code is that it is quite a bit easier to write code that is...

Author: MSDN Archive Date: 04/17/2007

Non-Cocreatable Class Objects No Longer Wrapped in NDP 2.0 and Later

I dealt with a customer attempting to automate Microsoft Outlook 2003 using the Outlook Primary...

Author: MSDN Archive Date: 04/12/2007

Mismatch between object lifetime when bridging between COM and managed code

From time to time, I see object hierarchies like: interface IParent : IUnknown { [propget] HRESULT...

Author: MSDN Archive Date: 04/11/2007