Essential COM (Paperback)

Don Box

  • 出版商: Addison Wesley
  • 出版日期: 1997-12-22
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 464
  • 裝訂: Paperback
  • ISBN: 0201634465
  • ISBN-13: 9780201634464
  • 無法訂購





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, and to stay current with extensions, such as Microsoft Transaction Server and COM+. Box examines COM from the perspective of a C++ developer, offering a familiar frame of reference to ease you into the topic.

Back to Top

Appropriate Courses

CORBA/COM, Distributed Systems.

Back to Top

Table Of Contents

Foreword by Charlie Kindel.
Foreword by Grady Booch.
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.
Methods and Results.
Interfaces and IDL.
Resource Management and Iunknown.
Type Coercion and Iunknown.
Implementing Iunknown.
Using COM Interface Pointers.
Optimizing QueryInterface.
Data Types.
Attributes and Properties.
Where Are We?

3. Classes.
Interface and Implementation.
Class Objects.
Using the SCM.
Classes and Servers.
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.
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.
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

Back to Top