Essential COM / Edition 1

Essential COM / Edition 1

5.0 1
by Don Box
     
 

ISBN-10: 0201634465

ISBN-13: 9780201634464

Pub. Date: 12/17/1997

Publisher: Addison-Wesley

"Don Box makes it possible for mere mortals to join the COM cognoscenti. If youire a C++ COM programmer, buy this book." -David Chappell, Principal, Chappell & Associates and author of Understanding ActiveX and OLE

Written by a leading COM authority, this unique book reveals the essence of COM, helping developers to truly understand the why, not just the

…  See more details below

Overview

"Don Box makes it possible for mere mortals to join the COM cognoscenti. If youire a C++ COM programmer, buy this book." -David Chappell, Principal, Chappell & Associates and author of Understanding ActiveX and OLE

Written by a leading COM authority, this unique book reveals the essence of COM, helping developers to truly understand the why, not just the how, of COM. Understanding the motivation for the design of COM and its distributed aspects is critical for developers who wish to go beyond simplistic applications of COM and become truly effective COM programmers. As the COM programming model continues to evolve, such insight also becomes essential to remaining current with extensions, such as Microsoft Transaction Server and COM+. By showing you why Distributed COM works as it does, Don Box enables you to apply the model creatively and effectively to everyday programming problems.

This book examines COM from the perspective of a C++ developer, offering a familiar frame of reference to ease you into the topic. You will also find comprehensive coverage of the core concepts of Distributed COM (interfaces, classes, apartments, and applications), including detailed descriptions of COM theory, the C++ language mapping, COM IDL (Interface Definition Language), the remoting architecture, IUnknown, monikers, threads, marshalers, security, and more. In addition, the book offers a thorough explanation of COMis basic vocabulary, provides a complete Distributed COM application to illustrate programming techniques, and includes the authoris tested library of COM utility code.

0201634465B04062001

Read More

Product Details

ISBN-13:
9780201634464
Publisher:
Addison-Wesley
Publication date:
12/17/1997
Series:
DevelopMentor Series
Pages:
464
Product dimensions:
7.30(w) x 8.90(h) x 1.10(d)

Table of Contents

Foreword by Charlie Kindel.

Foreword by Grady Booch.

Preface.

1. COM as a Better C++.

Software Distribution and C++.

Dynamic Linking and C++.

C++ and Portability.

Encapsulation and C++.

Separating Interface from Implementation.

Abstract Bases as Binary Interfaces.

Runtime Polymorphism.

Object Extensibility.

Resource Management.

Where Are We?

2. Interfaces.

Interfaces and Implementations Revisited.

IDL.

Methods and Results.

Interfaces and IDL.

Iunknown.

Resource Management and Iunknown.

Type Coercion and Iunknown.

Implementing Iunknown.

Using COM Interface Pointers.

Optimizing QueryInterface.

Data Types.

Attributes and Properties.

Exceptions.

Where Are We?

3. Classes.

Interface and Implementation.

Class Objects.

Activation.

Using the SCM.

Classes and Servers.

Generalizations.

Optimizations.

Interface and Implementation Again.

Monikers and Composition.

Monikers and Persistence.

Server Lifetime.

Classes and IDL.

Class Emulation.

Competent Categories.

Where Are We?

4. Objects.

IUnknown Revisited.

QueryInterface Is Symmetric.

QueryInterface Is Transitive.

QueryInterface Is Reflexive.

Objects Have Static Type.

QueryInterface and Iunknown.

Uniqueness and Identity.

Multiple Interfaces and Method Names.

Dynamic Composition.

Binary Composition.

Containment.

Where Are We?

5. Apartments.

Interface and Implementation Revisited.

Objects, Interfaces, and Apartments.

Cross-Apartment Access.

In-Process Marshaling Helpers.

Standard Marshaling Architecture.

Lifecycle Managing and Marshaling.

Custom Marshaling.

The Free Threaded Marshaler.

Where Are We?

6. Applications.

In-Process Activation Pitfalls.

Activation and the SCM.

Server Lifetime Revisited.

Application Ids.

COM and Security.

Programmatic Security.

Access Control.

Token Management.

Where Are We?

7. Miscellanea.

Pointer Basics.

Pointers and Memory.

Arrays.

Flow Control.

Dynamic versus Static Invocation.

Bidirectional Interface Contracts.

Aliasing in IDL.

Asynchronous Methods.

Where Are We?

Appendix A. The Evolution of Objects.

Appendix B. Selected Code Fragments.

Index. 0201634465T04062001

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
I have read a lot of books on COM and I must say the first chapter alone makes the book worth reading. Then the rest of the book gives you such an insight of how COM is used and why that by the end you feel like only writing your code in the COM way. Even if you code for many platforms, the disciplines you learn in this book are invaluable.