Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

IDLcomIDispatch::Init


Syntax | Arguments | Keywords | Version History

The IDLcomIDispatch::Init function method is used to initialize a given COM object and establish a link between the resulting IDL object and the IDispatch interface of the underlying COM object.

Syntax

Obj = OBJ_NEW('IDLcomIDispatch$ID_type$ID')

or

Result = Obj->[IDLcomIDispatch$ID_type$ID::]Init( ) (Only in a subclass' Init method)

where ID_type is one of the following:

and ID is the COM object's actual class or program identifier string. If the COM object's class identifier string is used to create the IDLcomIDispatch object, the braces ( { } ) must be removed and the hyphens replaced by underscores. For details on constructing the class name, see Chapter 4 in the External Development Guide for details.

Note
While COM objects incorporated into IDL are instances of the dynamic subclass created when the COM object is instantiated, they still expose the functionality of the class IDLcomIDispatch, which is the direct superclass of the dynamic subclass. All IDLcomIDispatch methods are available to the dynamic subclass.

Arguments

None.

Keywords

None.

Version History

Introduced: 5.5


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]