Thomas Heller <[EMAIL PROTECTED]> writes: > At least you get a little bit further: The com method is actually called and > the com object complains. Next you should try this: > > >> line.SetXData(array.array("i", [1001, 1070]), ['Test_Application', 600]) >
Thanks Thomas. That gives me the same error: line.SetXData(array.array("i", [1001, 1070]), ['Test_Application', 600]) _ctypes.COMError: (-2145320939, None, (u'Invalid argument type in SetXData method', u'AutoCAD.Application', u'C:\\Program Files\\AutoCAD 2008\\HELP\\OLE_ERR.CHM', -2145320939, None)) ------------------------------------------------------------------------- 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 comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users