ATL_Inproc_Ex1
Our second ATL demonstration duplicates the raw C++ Inproc_Ex1 functionality.
Here you will see CComBSTR and CComQIPtr in action.
Building ATL_Inproc_Ex1FileHandler Component using SafeArray
Uses SafeArray to marshal array of file names. Compare C++ client to C# client.
Component 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 shows you how to return an interface pointer from a COM interface.
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.