O'Reilly logo

Microsoft® Mobile Development Handbook by Peter Foot, Daniel Moth, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding COM Interop

Component Object Model (COM) is a native object-oriented programming model that has been supported on Windows CE since the earliest versions. COM components are exposed by interfaces and are reference counted so that when the last reference is deleted, the object can safely release any resources it uses. COM components are referenced by a pointer. In memory, this points to a VTable that is a list of function pointers to each method in the interface. All COM interfaces are derived from IUknown, which includes methods for increasing (AddRef) and decreasing (Release) the reference count and querying for another interface type (QueryInterface). A component can support multiple interfaces, and each interface is identified ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required