图书介绍

ATL技术内幕【2025|PDF|Epub|mobi|kindle电子书版本百度云盘下载】

ATL技术内幕
  • (美)雷克托(Rector,B.) 塞尔斯(Sells,C.)著 著
  • 出版社: 北京:科学出版社
  • ISBN:7030114078
  • 出版时间:2003
  • 标注页数:635页
  • 文件大小:176MB
  • 文件页数:650页
  • 主题词:软件开发-英文

PDF下载


点此进入-本书在线PDF格式电子书下载【推荐-云解压-方便快捷】直接下载PDF格式图书。移动端-PC端通用
种子下载[BT下载速度快]温馨提示:(请使用BT下载软件FDM进行下载)软件下载地址页直链下载[便捷但速度慢]  [在线试读本书]   [在线获取解压码]

下载说明

ATL技术内幕PDF格式电子书版下载

下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。

建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!

(文件页数 要大于 标注页数,上中下等多册电子书除外)

注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具

图书目录

Chapter 1 Hello,ATL1

What Is ATL? 1

Creating a COM Server2

Inserting a COM Class5

ContentsForeword9

Adding Properties and Methods11

Preface13

Implementing Additional Interfaces13

Support for Scripting16

Adding Persistence17

Adding and Firing Events19

Using a Window23

Implementing Component Categories27

Adding a User Interface28

Hosting a Control29

Summary32

Chapter 2 ATL Smart Types:Strings,BSTRs,VARIANTs,and Interface Pointers33

String Data Types,Conversion Macros,and Helper Functions33

The CComBSTR Smart BSTR Class43

The CComBSTR Class45

The ComVariant Smart VARIANT Class61

The CComPtr,CComQIPtr,and CComDispatchOriver Smart Pointer Classes74

Summary90

Chapter 3 Objects in ATL93

Recall:COM Apartments93

Implementing IUnknown95

The Layers of ATL98

Threading Model Support99

The Core of IUnknown107

Your Class114

CComObject et al.120

ATL Creators134

Debugging149

Summary155

Chapter 4 COM Servers157

A Review of COM Servers157

The Object Map and the CComModule Class159

The Object Map160

Methods Required of an Object Map Class163

The CComModule Class197

CComCoClass Revisited206

Server Optimization Compilation Options208

Summary210

Chapter 5 Interface Maps211

Recall:COM Identity211

Table-Driven QueryInterface213

Multiple Inheritance220

Tear-off Interfaces231

Aggregation:The Controlling Outer239

Interface Map Tricks248

Summary256

A Review of COM Persistence257

Chapter 6 Persistence in ATL257

ATL Persistence Implementation Classes268

The Property Map268

The Persistence Implementations270

Additional Persistence Implementations285

Adding Marshal-by-Value Semantics Using Persistence294

Summary297

Chapter 7 Collections and Enumerators299

COM Collection and Enumeration Interfaces299

Enumerating Arrays313

Enumerating STL Collections324

Collections335

STL Collections of ATL Data Types341

Simple Collections346

Object Models349

Summary354

Chapter 8 Connection Points357

A Review of Connection Points357

Creating an ATL-Based Connectable Object361

Creating an Object That Is an Event Recipient373

How It All Works:The Messy Implementation Details386

Summary405

Chapter 9 Windowing407

The Structure of a Windows Application407

CWindow410

CWindowlmpl416

CDialoglmpl452

Windows Control Wrappers462

CContainedWindow468

Summary474

Chapter 10 ActiveX Controls475

A Review of ActiveX Controls475

The BullsEye Control Requirements477

Creating the Initial Control Using the ATL Wizard486

The Initial BullsEye Source Files489

Developing the BullsEye Control Step by Step495

Summary538

Chapter 11 Control Containment539

How Controls Are Contained539

Basic Control Containment540

Hosting a Control in a Dialog573

Composite Controls581

HTML Controls585

ATL's Control Containment Limitations598

Summary599

Appendix A C++ Templates by Example601

The Need for Templates601

Template Basics603

A Different Kind of Polymorphism605

Function Templates611

Member Function Templates612

Summary613

Appendix B ATL Classes and Headers615

Index623

热门推荐