ATL Internals
暫譯: ATL 內部原理
Brent E. Rector, Chris Sells
- 出版商: Addison Wesley
- 出版日期: 1999-03-31
- 售價: $2,270
- 貴賓價: 9.5 折 $2,157
- 語言: 英文
- 頁數: 656
- 裝訂: Paperback
- ISBN: 0201695898
- ISBN-13: 9780201695892
已絕版
買這商品的人也買了...
-
SQL Server 2000 設計實務$650$553 -
C++ Primer, 3/e 中文版$980$774 -
LPI Linux 資格檢定 (LPI Linux Certification in a Nutshell)$880$695 -
ASP.NET 程式設計徹底研究$590$466 -
重構─改善既有程式的設計$720$569 -
C# Primer Plus 中文版 (C# Primer Plus)$680$537 -
鳥哥的 Linux 私房菜-伺服器架設篇$750$638 -
鳥哥的 Linux 私房菜─基礎學習篇增訂版$560$476 -
SQL Server 效能調校聖經$720$612 -
Linux 驅動程式 (Linux Device Drivers, 2/e)$880$695 -
SCJP‧SCJD 專業認證指南 (Sun Certified Programmer & Developer for Java 2 #310-305 與310-027)$850$723 -
人月神話:軟體專案管理之道 (20 週年紀念版)(The Mythical Man-Month: Essays on Software Engineering, Anniversary Edition, 2/e)$480$379 -
JSP 2.0 技術手冊$750$593 -
建構嵌入式 Linux 系統$780$616 -
CCNA 認證教戰手冊 Exam 640-801 (CCNA Cisco Certified Network Associate Study Guide, 4/e)$780$663 -
JSP 與 Servlet 500 個應用範例技巧大全集$590$460 -
最新 JavaScript 完整語法參考辭典 第三版$490$382 -
Reporting Service 實戰演練$690$587 -
Windows 驅動程式設計指南 (Programming the Microsoft Windows Driver Model, 2/e)$890$703 -
Word 排版藝術$620$490 -
Eclipse 整合開發工具 (Eclipse)$540$427 -
Windows 程式設計使用 MFC (Programming Windows with MFC, 2/e)$990$782 -
ISA Server 2004 防火牆安裝與管理指南$640$506 -
ASP.NET 徹底研究進階技巧─高階技巧與控制項實作$650$507 -
Linux iptables 技術實務─防火牆、頻寬管理、連線管制$620$527
相關主題
商品描述
Table Of Contents
Foreword.Preface.
1. Hello, ATL.
Creating a COM Server.
Inserting a COM Class.
Adding Properties and Methods.
Implementing Additional Interfaces.
Support for Scripting.
Adding Persistence.
Adding and Firing Events.
Using a Window.
Implementing Component Categories.
Adding a User Interface.
Hosting a Control.
Summary.
2. ATL Smart Types: Strings, BSTRs, VARIANTs, and Interface Pointers.
The CComBSTR Smart BSTR Class.
The CComBSTR Class.
The ComVariant Smart VARIANT Class.
The CComPtr, CComQIPtr, and CComDispatchDriver Smart Pointer Classes.
Summary.
3. Objects in ATL.
Implementing IUnknown.
The Layers of ATL.
Threading Model Support.
The Core of IUnknown.
Your Class.
CComObject et al.
ATL Creators.
Debugging.
Summary.
4. COM Servers.
The Object Map and the CComModule Class.
The Object Map.
Methods Required of an Object Map Class.
The CComModule Class.
CComCoClass Revisited.
Server Optimization Compilation Options.
Summary.
5. Interface Maps.
Table-Driven QueryInterface.
Multiple Inheritance.
Tear-off Interfaces.
Aggregation: The Controlling Outer.
Interface Map Tricks.
Summary.
6. Persistence in ATL.
ATL Persistence Implementation Classes.
The Property Map.
The Persistence Implementations.
Additional Persistence Implementations.
Adding Marshal-by-Value Semantics Using Persistence.
Summary.
7. Collections and Enumerators.
Enumerating Arrays.
Enumerating STL Collections.
Collections.
STL Collections of ATL Data Types.
Simple Collections.
Object Models.
Summary.
8. Connection Points.
Creating an ATL-Based Connectable Object.
Creating an Object That Is an Event Recipient.
How It All Works: The Messy Implementation Details.
Summary.
9. Windowing.
CWindow.
CWindowImpl.
CDialogImpl.
Windows Control Wrappers.
CContainedWindow.
Summary.
10. ActiveX Controls.
The BullsEye Control Requirements.
Creating the Initial Control Using the ATL Wizard.
The Initial BullsEye Source Files.
Developing the BullsEye Control Step by Step.
Summary.
11. Control Containment.
Basic Control Containment.
Hosting a Control in a Dialog.
Composite Controls.
HTML Controls.
ATL's Control Containment Limitations.
Summary.
Appendix A: C++ Templates by Example.
Template Basics.
A Different Kind of Polymorphism.
Function Templates.
Member Function Templates.
Summary.
Appendix B: ATL Classes and Headers.
Index. 0201695898T04062001
Reader Reviews
"I've often thought that I should write a book on how ATL works. After reading ATL Internals, I don't think there would be much left for me to write about." Jim Springfield, Inventor of ATL, Microsoft Corporation"This book is the definitive reference for ATL programmers. The chapter on CcomObject is worth the price alone." Don Box, COM guy, DevelopMentor"Brent and Chris are always technically accurate and present the information in a well written, easy to understand manner... I bought it and I'm the ATL Development Lead! " Christian Beaumont, ATL Development Lead, Microsoft Corporation
![]()
商品描述(中文翻譯)
目錄
前言
序言
1. 你好,ATL
ATL 是什麼?
創建 COM 伺服器。
插入 COM 類別。
添加屬性和方法。
實現額外的介面。
支援腳本。
添加持久性。
添加和觸發事件。
使用窗口。
實現元件類別。
添加使用者介面。
托管控制項。
總結。
2. ATL 智能類型:字串、BSTR、VARIANT 和介面指標
字串資料類型、轉換宏和輔助函數。
CComBSTR 智能 BSTR 類別。
CComBSTR 類別。
ComVariant 智能 VARIANT 類別。
CComPtr、CComQIPtr 和 CComDispatchDriver 智能指標類別。
總結。
3. ATL 中的物件
回顧:COM 公寓。
實現 IUnknown。
ATL 的層次。
執行緒模型支援。
IUnknown 的核心。
你的類別。
CComObject 等。
ATL 創建者。
除錯。
總結。
4. COM 伺服器
COM 伺服器回顧。
物件映射和 CComModule 類別。
物件映射。
物件映射類別所需的方法。
CComModule 類別。
CComCoClass 再探。
伺服器優化編譯選項。
總結。
5. 介面映射
回顧:COM 身分。
表驅動的 QueryInterface。
多重繼承。
可拆卸介面。
聚合:控制外部。
介面映射技巧。
總結。
6. ATL 中的持久性
COM 持久性回顧。
ATL 持久性實現類別。
屬性映射。
持久性實現。
額外的持久性實現。
使用持久性添加按值序列化語義。
總結。
7. 集合和列舉器
COM 集合和列舉介面。
列舉陣列。
列舉 STL 集合。
集合。
ATL 資料類型的 STL 集合。
簡單集合。
物件模型。
總結。
8. 連接點
連接點回顧。
創建基於 ATL 的可連接物件。
創建一個事件接收者物件。
一切如何運作:混亂的實現細節。
總結。
9. 窗口管理
Windows 應用程式的結構。
CWindow。
CWindowImpl。
CDialogImpl。
Windows 控制包裝器。
CContainedWindow。
總結。
10. ActiveX 控制項
ActiveX 控制項回顧。
BullsEye 控制項要求。
使用 ATL 向導創建初始控制項。
初始 BullsEye 原始檔案。
逐步開發 BullsEye 控制項。
總結。
11. 控制項包含
控制項是如何被包含的。
基本控制項包含。
在對話框中托管控制項。
複合控制項。
HTML 控制項。
ATL 的控制項包含限制。
總結。
附錄 A:C++ 模板範例
模板的需求。
模板基礎。
一種不同的多型性。
函數模板。
成員函數模板。
總結。
附錄 B:ATL 類別和標頭
索引
讀者評價
「我常常想我應該寫一本關於 ATL 如何運作的書。在閱讀了《ATL Internals》之後,我覺得我幾乎沒有什麼可以寫的了。」— Jim Springfield, 《ATL 發明者,微軟公司》
「這本書是 ATL 程式設計師的權威參考。關於 CComObject 的章節就值得這個價格。」— Don Box, 《COM 專家,DevelopMentor》
「Brent 和 Chris 總是技術準確,並以易於理解的方式呈現資訊……我買了這本書,而我就是 ATL 開發負責人!」— Christian Beaumont, 《ATL 開發負責人,微軟公司》
