| Chapter
1: Interfaces
Multiple Inheritance?
Interface Inheritance
Interface Conflicts
IUnkown, TInterfacedObject and Reference Counting
IUnknown QueryInterface
Aggregation
Chapter 2: COM Objects
Information
Why Do You Need COM COM Servers
CoClasses and COM Objects
COM Diagramming Conventions
COM Class Hierarchy
COM Class Interface Hierarchy
COM Class Factory Class Hierarchy
Creating and in -Process Server
Interface Typecasting
ActiveX Library Wizard
Safecall Calling Convention
CoInitialize and OLEInitialize
Threading Models
Matching Threading Models
Cleaning the Registry
Chapter 3: Automation Using Variants
Getting Started
Automating Excel
Multiple Assignments Using Variant Arrays
Exception Handling
Named and Positional Parameters
Spell Checking Using Word
AutoCtrl Demo
Summary
Chapter 4: Type Libraries and
Automation
Type Libraries
Creating an Automation Server
Registering an Automation Server
Creating an Automation Client
Testing the Automation Server in Excel
Marshalling
Examining the Generation Source Code
DispInterfaces and Automation Data Types
Dual Interface Automation Servers
Performance Comparisons
Instancing
The Running Objects Table
Automating Word Using a Type Library
Enumerating COM Collections
Automating PowerPoint Using a Type Library
Using IProvideClassInfo
Using Class Factories to Create Special Registry Keys |
Chapter
5: Automation Events
MS Word Events
Using MS Word Events
Steps that the Client Takes to Use Events
Creating an Automation Server with Events
Creating an Event Sink
Using an Event Sink
Adding Event Support Retrospectively
Automation Event Support in Delphi
Chapter 6: ActiveX Controls
and ActiveForms
Delphi ActiveX Framework
One Step ActiveX
ActiveX Differences
ActiveX Control Options
Preventing Components From Being Exposed as ActiveX Controls
Problems with ActiveX Controls
ActiveForms
OCX Caching
Summary
Chapter 7: Microsoft Transaction
Server and COM+
Information Sources
Microsoft Management Console (MMC)
Creating a COM+ Component
Using a COM+ Object
Development Problems
Creating COM+ Applications
Clients and COM+ Components Terminology
Stateful Components
Stateless Components
Just in Time Activation
Component Transactions
Resource Pooling
Debugging COM+ Applications
Security
Package Identity vs. Client Identity
Declarative Security
Programmatic Security
The Shared Property Manager
Package Deployment
Summary
Chapter 8: Microsoft Office
Automation Servers
Server Components
Automating Word
Word Events
Automating PowerPoint
Automating Excel
Office 2000
Automation Library Import Symbol Names
Automating Outlook
Sending Mail Using Outlook |