win32com.client.dynamic: VARIANT type not supported for SAFEARRAYS

Olaf Trygve Berglihn olafb at
Thu Mar 2 10:43:17 CET 2000

* "Mark Hammond" <mhammond at
> The Python COM framework doesnt have support for that variant type in
> safe array :-(  I have no idea what the variant type is, but it must
> be one of the more obscure ones.  What is the property defined as
> returning?  Presumably it is an array, but of what?
> Mark.

According to the help files for the COM-aware application, the
datatypes used are:

Visual Basic Type       C++ Type
Variant                 VARIANT
String                  BSTR
Boolean                 VARIANT_BOOL
Long                    long
Integer                 short
Double                  double
Single                  float
arrays                  SAFEARRAY

Does that answer any questions?

* Olaf Trygve Berglihn <olafb at>

More information about the Python-list mailing list