1. Home
  2. Computing & Technology
  3. Delphi Programming

OLE / COM / DCOM / Automation / ActiveX - Delphi knowledge base

Delphi COM/OLE/ActiveX programming articles, papers, tips, techniques and hints.
An Introduction to COM Programming with Borland Delphi
An Introduction to COM Programming with Delphi. COM stands for Component Object Model. It allows you to create COM objects that are not specific to any language, and in some cases, even platforms.
Registering DLL and ActiveX controls from code
How to register (and unregister) OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
Running Flash animations with Delphi
How to display Macromedia Flash animations (swf) inside a Delphi application. Grasp the fundamentals of integrating Macromedia Flash animations and Delphi.
Using Adobe Acrobat (PDF) files in a Delphi application
Let's see how to to show an Adobe Acrobat (.PDF) file in a Delphi application. All you need to do is the Acrobat ActiveX control (pdf.ocx and pdf.tlb), which you you can get for free from Adobe.
Building automation server objects
These pages are dedicated to building automation server objects using Delphi. In a growing number of small chapters the author introduces as many aspects as possible.
Building ActiveX Controls with Delphi
This course is about how to build an ActiveX control using Delphi.
COM Collections
(125 Kb PDF) Abstract: Correctly implementing COM collections. For developers to communicate among the applications they develop, Microsoft has provided an evolutionary path from DDE, OLE, OLE2, to COM (DCOM allows you to communicate between applications on different or distributed machines).
COM programming Tips & Tricks
List of tips and tricks that might be useful to COM developers of all levels.
Connectable COM Objects
A connectable COM object is one that supports events. This article shows how to implement connectable COM objects in Delphi.
DAX FAQs
Explanations and Code Examples about the Delphi ActiveX Class Framework
DCOM - home page
Specifications, papers, samples, ... Previously called "Network OLE," DCOM is designed for use across multiple network transports, including Internet protocols such as HTTP.
DCOM server in Windows NT Service
The DCOM server that lives in Windows NT service is considered. It is shown that simple combination of Delphi TService application with COM objects in it results to mixture that seems working in simple examples but fails in slightly more complex cases.
DCOM : implementing a multi-user application
Demonstrates how to implement a simple multi-user Message Board application that runs on DCOM.
COM Support in Delphi
Microsoft’s Component Object Model allows objects to communicate across process boundaries. This article describes Delphi’s support for COM and how you can use it.
Exposing a multi string object in COM
This document is intended for those using OLE/COM and want to expose a multi string object similar to Delphi's TStrings object.
How Do I Call COM Functions with Optional Parameters from Delphi?
Some ActiveX/COM classes have fucntions with optional parameters. But when you import the type library into Delphi, the type library wizard doesn't know that the parameters are optional and doesn't give you the option of omitting them in your code. The solution is to use EmptyParam where you would normally omit the parameter...
Implementing a Plug-in Framework
[Source] How to implement a simple COM-based plug-in framework. learn: how to design a plug-in framework and plug-in interfaces, how to manage plug-ins using COM component categories.
Implementing Object Hierarchies
How to design and implement an object hierarchy in a COM server.
One-Step ActiveX - Part 1
Getting from VCL to ActiveX can be as little as one step—if you’re careful and understand the limitations of the ActiveX component architecture.
One-Step ActiveX - Part 2
It takes only one step to make a working ActiveX control from a VCL control—but there may be some additional fussing to add VCL-style design-time features like property editors.
Pooling Transactional COM+ Objects with Delphi
COM+ object pooling has often been the turf of the C++ "elite crowd". There is a simple reason for this exclusive snobbery: COM+ object pooling assumes strict compliance to certain threading requirements. The good news is that your favourite IDE, Delphi, has full support for COM+ object pooling.
Writing COM Automation Events
A short tutorial on writing simple Automation server and client classes.
Explore Delphi Programming
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Advanced Delphi Techniques
  5. OLE / COM / Automation

©2009 About.com, a part of The New York Times Company.

All rights reserved.