lpOleObject Property

See AlsoHTYP82

Applies To

OLE control2HQDVVU.

Description

Specifies the address of the OLE object.  Not available at design time; read-only at run time.

Usage

[form.]ole.lpOleObject

Remarks

Many function calls in the OLE2 DLLs require the address of an object as an argument.  Pass the value specified in the lpOleObject property when making API calls to the OLE2 DLLs.  The value is 0 if no object is currently displayed.  If a call is made to an API that makes a callback to the OLE control, the result is unpredictable.

The address returned by this property is a far pointer to the lpOleObject interface for the current object.

Data Type

Long103F6YL


See Also

Help:

hWnd Property1CIW7KQ

 

Programmer's Guide:

Chapter 22, "Object Linking and Embedding (OLE)"