Navigation:  Programming Cookbook > Creating COM Components >

Dolphins COM Framework

Previous pageReturn to chapter overviewNext page

Dolphin provides a COM framework that takes care of many of the low-level implementation details of COM such as object lifetime (reference counting), and class factories. With the exception of a generic virtual function table, Dolphin’s entire COM framework is implemented in the image, and is supplied with full source. The framework is adequate for the majority of requirements, but can easily be extended where necessary.

Dolphin’s COM framework can be broadly divided into four areas:

1.Interfaces, represented by the COMInterface class hierarchy.
2.Implementation classes, normally, but not necessarily, represented by the COMInterfaceImp class hierarchy.
3.COMObjectStub
4.Class Factories