ATL Internals: Working with ATL 8, 2/e

Christopher Tavares, Kirk Fertitta, Brent E. Rector, Chris Sells

  • 出版商: Addison Wesley
  • 出版日期: 2006-07-01
  • 售價: $2,400
  • 貴賓價: 9.5$2,280
  • 語言: 英文
  • 頁數: 888
  • 裝訂: Paperback
  • ISBN: 0321159624
  • ISBN-13: 9780321159625
  • 相關分類: Visual Studio
  • 立即出貨(限量) (庫存=4)

買這商品的人也買了...

商品描述

Description

The Classic Guide to ATL–Now Updated for ATL 8 and Visual Studio 2005

 

Four leading Windows programming experts systematically reveal ATL’s inner workings, explaining not just how ATL works, but why it works the way it does. Client-side developers will master ATL’s resources for windowing, COM control, MFC integration, web service proxy generation, and more. Server-side programmers will discover ATL’s full COM server and object services, and its extensive support for high-throughput, high-concurrency web applications, and services. Every Windows developer will learn powerful ways to increase flexibility, reduce overhead, and maximize transparency and control.

 

• Discover ATL’s internals through diagrams, example code, and internal ATL implementation code

• Walk through wizards that simplify ATL usage in common applications

• Master string handling in C++, COM, and ATL

• Leverage ATL smart types, including CComPtr, CComQIPtr, CComBSTR, and CComVariant

• Understand and choose the right options for implementing IUnknown

• Create glue code that exposes COM objects from COM servers

• Use canned interface implementations to support object persistence, COM collections, enumerators, and connection points

• Build standalone applications and UI components with ATL window classes and controls

• Use ATL Server to develop web applications that run on Microsoft IIS

 

Table of Contents

Foreword to the Second Edition  xiii

Foreword to the First Edition  xv

Preface  xvii

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

Index  827

商品描述(中文翻譯)

描述



ATL經典指南-現已更新至ATL 8和Visual Studio 2005


 


四位領先的Windows程式設計專家系統地揭示了ATL的內部運作原理,不僅解釋了ATL的運作方式,還解釋了為什麼它以這種方式運作。客戶端開發人員將掌握ATL在窗口化、COM控制、MFC整合、Web服務代理生成等方面的資源。服務器端程序員將發現ATL的完整COM服務器和對象服務,以及其對高吞吐量、高並發性的Web應用程序和服務的廣泛支持。每位Windows開發人員都將學習增加靈活性、減少開銷、最大化透明度和控制的強大方法。


 


• 通過圖表、示例代碼和內部ATL實現代碼來了解ATL的內部運作


• 使用簡化ATL在常見應用程序中的使用的嚮導


• 掌握C++、COM和ATL中的字符串處理


• 利用ATL的智能類型,包括CComPtr、CComQIPtr、CComBSTR和CComVariant


• 了解並選擇實現IUnknown的正確選項


• 創建從COM服務器公開COM對象的粘合代碼


• 使用預製的接口實現來支持對象持久性、COM集合、枚舉器和連接點


• 使用ATL窗口類和控件構建獨立應用程序和UI組件


• 使用ATL Server開發在Microsoft IIS上運行的Web應用程序


 


目錄



第二版前言  xiii


第一版前言  xv


前言  xvii


關於作者  xxiii


第1章       
你好,ATL  1


第2章       
字符串和文本  43


第3章        ATL
智能類型  99


第4章       
ATL中的對象  175


第5章        COM
服務器  243


第6章       
接口映射  299


第7章       
ATL中的持久性  345


第8章       
集合和枚舉器  381


第9章       
連接點  441


第10章     
窗口化  489


第11章      ActiveX
控件  567


Chap```