ATL技术内幕(影印版)

ATL技术内幕(影印版)
作 者: 雷克托
出版社: 科学出版社
丛编项: UML与面向对象设计影印丛书
版权说明: 本书为出版图书,暂不支持在线阅读,请支持正版图书
标 签: 计算机与互联网 计算机组织与体系结构
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《ATL技术内幕(影印版)》作者简介

内容简介

ATL是一组小而灵活的类,可用于开发COM组件。本书对ATL的内部工作原理做了深入的剖析,详细介绍了关于ATL设计的基础知识和体系结构,展示了ATL如何与COM相匹配,并对一些重要的实施细节做了具体提示。在此基础上,对ATL的一些高级内容和功能做了充分的介绍。更为重要的是,本书还指出了ATL存在的一些缺陷,并告诉读者如何去避免。本书具有一定的技术深度,适合有经验的COM和VC++程序员阅读。 Brent Rector is President of Wise Owl Consulting,Inc., a form that specializes in Windows/COM development and consulting.He also teaches classes on COM, ATL,and MTS for DevelpMentor,a leading COM education firm.His previous books include Win32 Programming ,Developing windows 3 Applications with Microsoft SDK,and Developing Windows 3.1 Applications with Microsoft C/C++.He received the Microsoft Annual MVP award for his contributions to CompuServes Windows forums.Chris Sells Works as an independent consultant specializing in design and development using COM.He is also a COM C++, and ATL instructor for DevelopMentor,where he authored the Essential ATL five-day shor course.His previous books include Effective COM and Windows Telephony Programming .He is a contributor to the Visual C++ Developers Journal and the Vis...

图书目录

Foreword
Preface

Chapter

Hello,ATL

What

is

Atl?
Creating

a

COM

Server
Inaerting

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

Chapter

ATL

Smart

Types:

Strings,BSTRs,VARIANTs,and

Ineterface

Pointers



Sting

Data

Types,Conversion

Macros,and

Helper

Function


The

CComBSTR

Smart

BSTR

Class
The

CComBSTR

Class
The

CComVariant

Smart

VARIANT

Class
The

CComPtr,CComQIPtr,and

CComDispactchDriver

Smart

Pointer

Classes
Summary

Chapter

Objects

in

ATL

Recall:COM

Apartments
Implementing

IUknown
The

Layers

of

ATM
Threading

Model

Support
The

Core

of

IUknown
Yours

Class
CComObjects

et

al.
ATL

Creators
Debugging
Summary

Chapter

COM

Servers

A

Review

of

COM

Servers
The

object

Map

and

CComModule

Class
The

object

Map
Methods

Required

of

an

Object

Map

Class
The

CComModule

Class
CComCoClass

Revisited
Server

Optimization

Compilation

Options
Summary

Chaqpter

Interface

Maps

Recall:COM

Identity
Table-Driven

Queryinterface


Multiple

Inheritance
Tear-off

interfaces
Aggregation:The

Controlling

Outer
Inface

Map

Tricks
Summary

Chapter

Persistence

in

ATL



A

Review

of

Persistence


ATL

Persistence

Implementation

Classes
The

Property

Map
The

Persistence

Implementations
Additionalo

Persistence

implementations
Adding

Marshal-by-Value

Semantics

Using

Persistence
Summary

Chapter

Collections

and

Enumerators

COM

Collecion

and

Enumeration

Interfaces
Enumerating

Arrays
Enumerating

STL

Collections
Collections
STL

Collections

of

ATL

Dats

Types
Simple

Collecions
Object

Models
Summary

Chapter

Connection

Points

A

Review

of

Connection

Points
Creating

an

ATL-Based

Connectable

Object
Creating

an

object

That

is

an

event

Recipient
How

it

all

Works:The

Messy

Implemengtation

Details
Summary

Chapter

Windowing



The

Structure

of

a

Windows

Application
CWindow
CWindowlmpl
CDialoglmpl
Windows

Control

Wrappers
CContainedWindow
Summary

Chapter

Activex

Controls

A

Review

of

Activeex

Controls
The

BullsEye

Control

Requirements
Creating

the

Initial

Control

Using

the

ATL

Wizard
The

Inital

BullsEye

Control

Step

by

Step
Developing

the

BullsEye

Control

Step

by

Step
Summary



Chapter

Control

Containment

How

Controls

Are

Contained
Basic

Control

Containment
Hosting

a

Contol

in

a

Dialog
Composite

Controls
HTML

Controls
ATL's

Control

Containment

Limitations
Summary

Appendix

A

C++Templates

by

Example

The

Need

for

Templates
Template

Basics
A

Different

Kind

of

Polymorphism
Member

Function

Templates
Summary

Appendix

B

ATL

Classes

and

Headers

Index