The Active Template Library (ATL) is a set of small, efficient, and flexible classes created by Microsoft that facilitate the creation of interoperable components for developing Windows applications. The latest version of ATL is version 8, released with Visual Studio 2005. While .NET has been getting all the attention recently, there is still a huge base of installed COM/ATL code. Many programmers are dealing with difficult issues adding new .NET code to that installed base. At the same time there are many instances where ATL is still the superior choice for new applications - applications that have to run fast and efficiently on Windows, where the CPU doesn't have the memory or bandwidth to run .NET. This book will be a godsend to developers in both of those situations. As one tech reviewer put it, "Any programmer needing to transition ATL code to .NET will need this book." The first edition was widely praised, and sold close to 20,000 units. While ATL is no longer the cutting edge of Microsoft developer tools, there should still be a strong market for authoritative, complete, deep coverage of the newest version of this standard tool.
Download the Sample Chapter from this book.
Foreword to the Second Edition xiii
Foreword to the First Edition xv
About the Authors xxiii
Chapter 1 Hello, ATL 1
Chapter 2 Strings and Text 43
Chapter 3 ATL Smart Types 99
Chapter 4 Objects in ATL 175
Chapter 5 COM Servers 243
Chapter 6 Interface Maps 299
Chapter 7 Persistence in ATL 345
Chapter 8 Collections and Enumerators 381
Chapter 9 Connection Points 441
Chapter 10 Windowing 489
Chapter 11 ActiveX Controls 567
Chapter 12 Control Containment 631
Chapter 13 Hello, ATL Server: A Modern C++ Web Platform 699
Chapter 14 ATL Server Internals 739
Appendix A C++ Templates by Example 787
Appendix B ATL Header Files 799
Appendix C Moving to ATL 8 803
Appendix D Attributed ATL 815
Download the Foreword file from this book.