Learn how to build sophisticated COM objects using C++ and IDL, as well as how ATL supplies support for several COM procedures.
Microsoft’s Component Object Model is one of the most important concepts in software development today. Developer’s Workshop to COM and ATL 3.0 provides an in-depth treatment of COM and shows how to adopt a component framework, namely ATL, to help lessen the burden of repetitive code. Every chapter contains integrated lab assignments that give you numerous opportunities to build COM clients and servers using raw C++ and IDL, as well as the Active Template Library.
The book is divided into five sections, each focusing on a particular aspect of COM and ATL development. The book begins with a review of object-oriented and interface-based programming techniques, then moves into the core aspects of COM, including a full examination of language independence and location transparency. The author illustrates the numerous CASE tools used during ATL development and discusses apartments, COM exceptions, object identity, and component housing, in addition to various advanced concepts such as COM categories and tear-off interfaces. The fourth section examines a number of “COM patterns” such as enumerators, collections, scriptable objects, and callback interfaces. The book closes with an investigation of using ATL as a windowing framework and wraps up with the development of a full-blown animated ActiveX control using ATL.
About the Author
Andrew W. Troelsen is a partner, software developer, and trainer at Intertech, Inc., an Minneapolis-based training firm that specializes in education for Enterprise Web Developers. Troelsen is a Microsoft Certified Solution Developer and holds the Master of Technical Training (MTT) designation. He has presented at various technical conferences, and is also the author of Developer's Workshop to COM+.