Apartments and Threading Presentation
Introduces the notion of apartments and their use to manage COM components that many not share the same
thread model with their clients.
Threading RulesComponent Calls Component
This document discusses briefly building a workspace with a client that calls a component that, in turn, calls
another component.
ComponentCallsComponent Project
This project provides all the code used to generate screen shots for the presentation in the previous item.
The code provides brief, but useful, examples of the CComQIPtr and CComBSTR classes. I believe this is
the best way to build a client for components built with ATL.
Marshaling Interface Pointers between Client Threads
You can't pass interface pointers between apartments, without marshaling. To do so breaks the COM
threading model. This project shows you how to do that.