ComObjPtr

<< Click to Display Table of Contents >>

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

ComObjPtr

 

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