Re: [python-win32] Need data type identifiers

2012-07-21 Thread Roger Upole
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)

[python-win32] Need data type identifiers

2012-07-21 Thread Fox, Michael K
We are having occasional difficulties when we need to pass an argument in-and-out of a COM method that we are calling in Python. There is some magic in makepy that normally handles this for us but occasionally it fails because it somehow reads the typelib incorrectly and misunderstands the data