[python-win32] FireEvent : comtypes work but win32com fails, why?
Thomas Heller
theller at ctypes.org
Wed Jun 25 16:03:12 CEST 2008
Mark Hammond schrieb:
>> > In summary, there are one big problem and one minor problem. The
>> > first
>> > is about pywin32's inability to pass FireEvent's second argument.
>
> I can't explain that :( I've stepped through the code, and it seems we are
> passing a VT_VARIANT containing a VT_BYREF|VT_DISPATCH. I'm afraid I'm not
> familiar enough with comtypes to know how it is passing that param.
I think that comtypes passes a VT_DISPATCH type in the DISPPARAMS VARIANTARG field.
Thomas
More information about the python-win32
mailing list