Navigation: Programming Cookbook >
Creating COM Components
This section covers the use of Dolphin to implement COM components, in other words the implementation of COM servers. A reasonable understanding of Microsoft’s Component Object Model is assumed – for introductory material refer to a text such as Rogerson. However because of the relative importance of reference counting (for life-cycle management) and marshalling (for remote method invocation) this section starts with some background on these, with a Dolphin focus of course. It is also recommended that a working understanding of External Interfacing in Dolphin be gained before attempting to implement COM servers.
Dolphin can be used to implement both in-process (DLL) and out-of-process (EXE) COM servers, but currently supports only the single-threaded apartment model.