[python-win32] Need data type identifiers

Roger Upole rupole at hotmail.com
Sat Jul 21 12:38:23 CEST 2012


The first number is a combination of VARENUM values (pythoncom.VT_*) indicating the type,
and the second is from PARAMFLAGS (pythoncom.PARAMFLAG_*).

(24584, 3) is (VT_ARRAY|VT_BYREF|VT_BSTR, PARAMFLAG_FIN|PARAMFLAG_FOUT)
(24588, 3) is (VT_ARRAY|VT_BYREF|VT_VARIANT, PARAMFLAG_FIN|PARAMFLAG_FOUT)

If the types generated by makepy are not what the methods are expecting,
most likely they're actually specified incorrectly in the application's typelib.

        Roger







More information about the python-win32 mailing list