D801 - Delphi COM Programming
Price:
US $1,495, UK £995 + VAT | Duration: 3 days

Programmers
and consultants who use Delphi5 or 6 and need to develop / interface
with COM applications.

A
good working knowledge of Delphi and object oriented programming
in Delphi. Our Delphi Fundamentals and Delphi Object Oriented
Programming courses provide a solid base for this course.

This advanced
course covers Delphi COM Programming in depth. At the end of the
course you will able to write and deploy COM and automation clients
and server applications, utilize existing COM servers from within
your Delphi applications, and make the most of MTS.
COM
is also the basis for writing multi-tier applications so you'll
get a head start on that as well if you are planning to attend
our Multi-tier Development course.

Develop
COM based applications, utilize existing COM servers (such as
MS-Word and MS-Excel), use Delphi's Interface language feature,
write COM interfaces, register COM servers, choose between different
types of COM servers, use early and late binding, use the Type
library editor, learn how to use Class Factories, and how to create
Automation servers
Overview
of COM
·What is COM? | How is it used? | COM servers and clients
| Different types of COM servers | Type libraries |COM Objects
with type libraries | Automation objects
Interfaces
Interfaces as a language feature | Benefits of Interfaces | Working
with Interface variables rather than objects | Reference counting
and memory management | IUnknown, IDispatch, IProvideClassInfo
| Classes which implement interfaces | TinterfacedObject, | Inheritance
and Interfaces | Interface } Iheritance | GUIDs | Aggregation
and Implements
Working
with Existing COM servers
MS-Word and MS-Excel | Automation using variants | CreateOLEObject
| Named and positional parameters | Automation using type libraries
| Mail merge, spell checking, and charting | COM & The Registry
· Structure of keys for registered servers e.g. Word, Excel
| Finding registered servers | More examples of COM | ADO | ActiveX
| MTS
Writing
your own COM servers
Types of COM servers | Interfaces,
Classes, and server types | IUnknown, IDispatch, IProvideClassInfo
| TinterfacedObject, TComObject, TTypedComObject, TAutoObject
| CoClasses & COM Objects | Instancing | Interface Typecasting
and Extracting Interfaces | SafeCall Calling Convention | Threading
Models
Type
Libraries and Automation
Contents Of Type Libraries | Uses Of Type Libraries | The Type
Library Editor | Creating An Automation Object | Controlling An
Automation Object From other packages | Dispatch Interfaces |
Automation Data Types | Dual Interfaces, IDispatch and IDispatch.Invoke
Microsoft
Transaction Server
·MTS Overview | Microsoft Management Console | Creating
MTS Objects | Using MTS Explorer | Creating MTS Packages

- Using
the Interface language mechanism
- Write
COM and Automation servers in Delphi
- Accessing
your servers from other applications
- Importing
and using type libraries from existing COM servers
- Use Delphi
to control MS-Word and MS-Excel