User`s guide
B Data Conversion
VARIANT Type Codes Supported (Continued)
VARIANT Type Code
(C/C++) C/C++ Type
Variant
Type Code
(Visual Basic)
Visual
Basic
Type Definition
VT_DATE DATE
+
vbDate Date
Eight-byte floating
point value
representing date
and time
VT_INT int ——
Signed integer;
equivalent to type
int
VT_UINT unsigned int ——
Unsigned integer;
equivalent to type
unsigned int
VT_DECIMAL DECIMAL
+
vbDecimal —
96-bit (12-byte)
unsigned integer,
scaled by a variable
power of 10
VT_BOOL VARIANT_BOOL
+
vbBoolean Boolean
Two-byte Boolean
value (0xFFFF =
True; 0x0000 = False)
VT_DISPATCH IDispatch* vbObject Object
IDispatch*
pointer
to an object
VT_VARIANT VARIANT
+
vbVariant Variant
VARIANT
(can only be
specified if c ombine d
with
VT_BYREF or
VT_ARRAY)
<anything>|VT_ARRAY
———
Bitwise combine
VT_ARRAY with any
basictypetodeclare
as an array
B-4