Freigeben über


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...

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....

Date: 04/18/2007

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

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...

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...

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...

Date: 04/11/2007