Author : Andrew W. Troelsen
Publisher : Jones & Bartlett Publishers
Page : 719 pages
File Size : 42,31 MB
Release : 2000-06-30
Category : Computers
ISBN : 1449683223
Book Description
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. Learn how to build Visual Basic, Java, C++, and web-based COM clients; use common VBA programming structures such as conditions, loops, arrays, and collections; master ATL’s integrated CASE tools; dive into the details of object identity and the ATL COM map; build COM object models and leverage the ATL object map; develop full ActiveX controls with ATL.