Next Previous Up Top Contents Index

4.12 The OLE-AUTOMATION module

<simple-component-object>

Open concrete primary class

Summary

This class implements a compound class or coclass object.

Superclasses

<IUnknown> 

Description

This class implements a compound class or coclass object.

You can instantiate it directly, or you can define a subclass of it to instantiate. It takes one required init-keyword, typeinfo:, whose value is an instance of <coclass-type-info>, which specifies the component interfaces that will be automatically instantiated when the object is instantiated.

Because this class is a subclass of <IUnknown>, you can call the function QueryInterface on an instance of it to obtain one of the component interfaces.

Note that you must define subclasses of this class with the macro define COM-interface rather than define class.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index