Navigation:  ThinBASIC Language > Data types and variables > iDispatch variables >

ComObjPtr

Previous pageReturn to chapter overviewNext page

 

Description

 

Return an object pointer contained in the specified iDispatch variable

 

Syntax

 

pObj = ComObjPtr(iDispatchVariable)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

iDispatchVariable

iDispatch

No

A iDispatch Variable

 

Remarks

 

Restrictions

 

See also

 

iDispatch, NewCom, GetCom, AnyCom, Nothing, IsComObject, IsComNothing.

 

Examples