Thomas Heller <[EMAIL PROTECTED]> writes:
> I think Suraj is close. Can you look up somhow the IDL definition of the
> SetXData method, or posth the corresponding line from the generated code?
>
Thank you Thomas. Where can I look up the IDL definition? What does IDL mean?
This is from the generated code in comtypes/gen directory:
COMMETHOD([dispid(1027), helpstring(u'Sets the extended data (XData)
associated with an object')], HRESULT, 'SetXData',
( ['in'], VARIANT, 'XDataType' ),
( ['in'], VARIANT, 'XDataValue' )),
> Does this code work?
>
> line.SetXData([1001, 1070], ['Test_Application', 600])
>
It doesn't work and gives this error:
_ctypes.COMError: (-2145320939, None, (u'Invalid argument type in SetXData
method',
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
comtypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/comtypes-users