COM Interface

Top  Previous  Next

A COM interface (or just interface for short) is a set of methods. Once a COM interface has been defined, it may not be changed any more. A COM interface is identified by a unique ID and a name starting with "I". A COM interface can inherit from another COM interface. Every COM interface must inherit from the interface IUnknown, either directly or through the COM interface it inherits from. COM objects are accessed through one or more COM interfaces they support. Cockpit allows you to use COM interfaces through interface classes inheriting from its ComInterface class. You can implement your own COM interfaces using the ActiveComInterface class.