10-29-2007 09:41 PM
10-30-2007 04:00 AM
As you can see in the online help, CA_VariantGetType returns an enumerated type (defined in cviauto.h and starting from 100) OR'ed with either CAVT_ARRAY (defined as 0x1000) and/or CAVT_BYREF (0x2000), whichever applies to.
That is, your variant should contain an array of short integers (102 OR 0x1000).