ATL Internals
От: Игорь Ткачёв Россия linq2db.com
Дата: 29.10.01 18:28
Оценка: 15 (1)
Статья:
Brent Rector, Chris Sells, ATL Internals
Автор(ы): Brent Rector, Chris Sells

When I first saw the title of this book, I told Chris Sells that it
sounded like the book I always wanted to writed. Ever since we released ATL,
some of us have been saying, "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. Actually, this is kind of a relief.
At this point, I think most aspects of ATL have been covered,
and ATL Internals provides an excellent source of information on the
inner workings of ATL. So, Chris asked me to provide some information that
can't be deduced by looking at the ATL source code.


Авторы:
Игорь Ткачёв

Аннотация:
When I first saw the title of this book, I told Chris Sells that it sounded like the book I always wanted to writed. Ever since we released ATL, some of us have been saying, "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. Actually, this is kind of a relief.
At this point, I think most aspects of ATL have been covered, and ATL Internals provides an excellent source of information on the inner workings of ATL. So, Chris asked me to provide some information that can't be deduced by looking at the ATL source code.
Если нам не помогут, то мы тоже никого не пощадим.
ATL internals
От: igorbr  
Дата: 14.03.02 23:00
Оценка:
Где купить эту книгу?
А где бы взять электронный вариант?
От: John Scherbatov  
Дата: 30.10.01 18:28
Оценка:
Re: А где бы взять электронный вариант?
От: OlegO Россия http://www.mediachase.ru
Дата: 14.11.01 22:08
Оценка:
Лучше купи, не пожалеешь денег. Читается на одном дыхании :).
С уважением, OlegO.
Re: ATL internals
От: OlegO Россия http://www.mediachase.ru
Дата: 06.08.03 07:01
Оценка:
Здравствуйте, igorbr, Вы писали:

I>Где купить эту книгу?


За границей.

Есть несколько вариантов:

1. Попросить чтобы тебе привезли друзья или знакомые.
2. http://www.books.ru — правда давно через него покупали, не знаю сейчас возят под заказ или нет.
3. http://www.pregrad.net — вот еще сайт не пользовался, но вроде обещают привезти все.
С уважением, OlegO.
Re[2]: А где бы взять электронный вариант?
От: Bob Kotl Россия  
Дата: 08.04.05 09:51
Оценка:
Здравствуйте, OlegO, Вы писали:

OO>Лучше купи, не пожалеешь денег. Читается на одном дыхании .

Даже несмотря на вот это, да?

The book covers the latest version of ATL, 2.1, a major revision.

(скопировано http://www.ozon.ru/context/detail/id/1830401/$$url0$$)
Re: ATL Internals
От: sharcUs Беларусь http://sharcus.blogspot.com/
Дата: 21.05.07 07:33
Оценка:
Наткнулся на вторую редакцию книги.
Теперь она называется ATL Internals: Second Edition. Working with ATL 8



Foreword to the Second Edition
Wow. It has been a long time since I wrote the foreword for the first edition of ATL Internals. Reading through the old introduction really takes me down memory lane; I can hardly believe that it has been almost eight years. Not long after I wrote it, I moved on to the Windows team at Microsoft and then on out of Microsoft a year later. I came back to Microsoft (and the Visual C++ team) a few years ago, and I am now managing several development teams in Visual C++. One of these is the libraries team, of which ATL is a part, and it is fun to be involved in ATL again. Jan and Christian have both moved on, although Nenad expanded the windowing classes from ATL that I mentioned in the first introduction into a separate library called WTL (Windows Template Library[1]). WTL is now a Microsoft open-source project that Nenad manages.

[1] http://wtl.sourceforge.net

ATL has changed in ways I never could have predicted, and it has been bittersweet to see it continue to grow without being personally involved. There have been many great people who have worked on ATL over the years. Some of them I have known quite well and others I never knew.

When I mentioned "some new ways of accessing the ATL functionality" in the first foreword, I was referring to attributes. This technology was delivered in Visual Studio .NET 2002, but it never really developed into what we envisioned. ATL attributes still work in the current release and they can be quite powerful, but there are no plans to expand their use. This new version of ATL Internals provides lots of updates and does cover attributes, but doesn't assume that you're going to depend on this feature. This edition also includes a very nice introduction to ATL Server, which provides a flexible, high-performance way to create web applications. If performance is a critical requirement, ATL Server was built for you. Other ATL 8 improvements include better security, full 64-bit support, better scalability, debugging improvements, support for C++/CLI, and managed ATL components.

What has become the .NET ecosystem was just getting underway back in 1998. It has revolutionized programming for many developers and will continue to deliver improvements in the years to come. However, COM programming (and ATL) is still very much alive and is very important to many developers both inside and outside of Microsoft. The second edition of this book, like the first, provides the details you need to maximize your investment in those technologies.

Jim Springfield

April, 2006

Table of Contents
Copyright
The Addison-Wesley Object Technology Series
Foreword to the Second Edition
Foreword to the First Edition
Preface
Acknowledgments
About the Authors
Chapter 1. Hello, ATL

What Is 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
COM Controls
Hosting a Control
ATL Server Web Projects
Summary
Chapter 2. Strings and Text
String Data Types, Conversion Classes, and Helper Functions
The CComBSTR Smart BSTR Class
The CComBSTR Class
The CString Class
Summary
Chapter 3. ATL Smart Types
VARIANTs, SAFEARRAYs, and Interface Pointers
The CComVariant Smart VARIANT Class
The CComSafeArray Smart SAFEARRAY Class
The CComPtr and CComQIPtr Smart Pointer Classes
The CAutoPtr and CAutoVectorPtr Smart Pointer Classes
ATL Memory Managers
Summary
Chapter 4. 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
Chapter 5. COM Servers
A Review of COM Servers
The Object Map and the CAtlModule Class
The Object Map
Methods Required of an Object Map Class
The CAtlModule Class
CComCoClass Revisited
ATL and the C Runtime Library
Summary
Chapter 6. Interface Maps
Recall: COM Identity
Table-Driven QueryInterface
Multiple Inheritance
Tear-Off Interfaces
Aggregation: The Controlling Outer
Interface Map Chaining
Just Say "No"
Debugging
Extensibility
Summary
Chapter 7. Persistence in ATL
A Review of COM Persistence
ATL Persistence Implementation Classes
The Property Map
The Persistence Implementations
Additional Persistence Implementations
Adding Marshal-by-Value Semantics Using Persistence
Summary
Chapter 8. Collections and Enumerators
COM Collection and Enumeration Interfaces
Enumerating Arrays
Enumerating Standard C++ Collections
Collections
Standard C++ Collections of ATL Data Types
ATL Collections
Object Models
Summary
Chapter 9. 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 Implementation Details
Summary
Chapter 10. Windowing
The Structure of a Windows Application
CWindow
CWindowImpl
CDialogImpl
Window Control Wrappers
CContainedWindow
Summary
Chapter 11. ActiveX Controls
A Review of 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
Chapter 12. Control Containment
How Controls Are Contained
Basic Control Containment
Hosting a Control in a Dialog
Composite Controls
HTML Controls
ATL's Control Containment Limitations
Summary
Chapter 13. Hello, ATL Server: A Modern C++ Web Platform
The Microsoft Web Platform (Internet Information Services)
The Simplest ISAPI Extension That Could Possibly Work
Wrapping ISAPI
ATL Server
Web Services in ATL Server
Summary
Chapter 14. ATL Server Internals
Implementing ISAPI in ATL Server
Server Response Files
An Example Request Handler
Handling Input
Session Management
Data Caching
Summary
Appendix A. C++ Templates by Example
The Need for Templates
Template Basics
A Different Kind of Polymorphism
Function Templates
Member Function Templates
Summary
Appendix B. ATL Header Files
Appendix C. Moving to ATL 8
Strings, Character Sets, and Conversions
Shared Classes with MFC
Implementing COM Servers
ActiveX Controls and Control Hosting
ATL_MIN_CRT Changes
Summary
Appendix D. Attributed ATL
Fundamentals of ATL Attributes
The Future of Attributed ATL
Summary
Index
Re[2]: ATL Internals
От: ioni Россия  
Дата: 31.05.07 13:46
Оценка:
Здравствуйте, sharcUs, Вы писали:

U>Наткнулся на вторую редакцию книги.

U>Теперь она называется ATL Internals: Second Edition. Working with ATL 8

а вот и перевод подоспел
http://www.williamspublishing.com/Books/978-5-8459-1169-8.html
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.