VARPTR Property
PLBCMP GUI Only
The VARPTR property indicates that a VARIANT is passed to an OLE application for a property or method parameter as a VT_VARIANT type. The property uses the following format:
VARPTR={value}
Note the following:
VARPTR may be used in CREATE, SETPROP, or GETPROP statements of a VARIANT object.
This property causes the runtime to pass a VT_VARIANT to the interface that contains the address of the variant data.
The requirement for passing a VT_VARIANT is controlled by the OLE application employed by the PLB program.
{value} is a decimal number, a Numeric Variable, a DIM array, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
Arguments are passed as a.... |
|
0 |
$OFF |
VARIANT type. (default) |
|
1 |
$ON |
pointer to a VARIANT object. |
|
2 |
|
pointer to the VARIANT value. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |