CLASS IdentifyAsComInterface - Identify instances of inheriting classes as COM interfaces

Top  Previous  Next

Description

The class IdentifyAsComInterface is used to identify an object as a COM interface. By inheriting from IdentifyAsComInterface, every class can be declared as a Com interface. A type check performed on an object with IsComInterface will return .T. if the object has inherited from IdentifyAsComInterface.

 

Instances of classes inheriting from IdentifyAsComInterface must export these members:

 

:baseAddress
:vtblAddress
:id
:NewAt(<newBaseAddress>)

 

The Core classes ComInterface and ActiveComInterface inherit from IdentifyAsComInterface.