Book Description
As well as telling you how ATL works, the book is full of examples illustrating the concepts. We cover connection points, collections, enumerations; explain how ATL handles IDispatch, error objects; persistence interfaces and how to extend them, explain how ATL handles ambient and stock properties; property maps, message maps, property pages, initializing properties via scripting and >PARAM< tags;
We also explain various ways of marshaling, threading, and how ATL handles the various models. We cover DCOM related topics like using surrogates to remote DLL servers and writing remote EXE servers (we develop a class and a sample client that calls the class inproc, local, via a surrogate, and remote). The final chapter develops a full control that is scriptable and has complex properties that can be initialized in IE and in VB, and set via a property page
From the Publisher
The book is primarily for Visual C++ developers (although ATL is freely available from Microsoft's web site at present). The reader will probably be fairly experienced in using MFC, and may well have used the Wizards to produce simple MFC controls in the past. The book is ideal for people who need to get to grips with the principles of COM and the ways in which ATL handles much of the complexity for the programmer.
The book is a logical next step for people who have read Beginning Visual C++ 5. The back of Beginning Visual C++5, which is in CompUSA, points consumers to this book.