Subject RE: [IBO] Fields[xx].value - unidentifyed type: 14
Author Claudio Valderrama C.
> -----Original Message-----
> From: Andy Garner [mailto:andy@...]
> Sent: MiƩrcoles 3 de Enero de 2001 17:55
>
> I found two references to '14' in the D5 activex.pas.
> Maybe this will help those familiar with this area.


Thanks, Andy, that's what I needed:

> [V] - may appear in a VARIANT
> [T] - may appear in a TYPEDESC
> [P] - may appear in an OLE property set
> [S] - may appear in a Safe Array }
>
> {$EXTERNALSYM VT_DECIMAL}
> VT_DECIMAL = 14; { [V][T] [S] 16 byte fixed point }

Jason, are you awaken at 4 AM? :-) Type 14 is 16 byte fixed point, how is
it related to INT64? I'm not sure what "16 byte fixed point means". Does it
work for INT64? At least for numeric(p,0) with p>9 I would use one of those
below:


> {$EXTERNALSYM VT_I8}
> VT_I8 = 20; { [T][P] signed 64-bit int }
> {$EXTERNALSYM VT_USERDEFINED}
> VT_USERDEFINED = 29; { [T] user defined type }

And what can I do with those definitions Borland included? Can I store a
blob in a variant? ;-)

> {$EXTERNALSYM VT_BLOB}
> VT_BLOB = 65; { [P] Length prefixed bytes }
> {$EXTERNALSYM VT_BLOB_OBJECT}
> VT_BLOB_OBJECT = 70; { [P] Blob contains an object }


I'm started to get too afraid of Variant.

C.