[python-win32] Problem of calling parameterless methods
Łukasz Jakubowski
lukaszj at onet.pl
Mon Feb 2 13:11:51 CET 2015
Sorry, I missed the context:
http://resource.dopus.com/viewtopic.php?f=3&t=23896
Please note additionally that the solution proposed by jon does not actually work.
The exception is:
myvec = factory._make_method_("Vector")
^
Traceback (most recent call last):
File "<Script Block >", line 5, in OnClick
myvec = factory._make_method_("Vector")
File "C:\Python34\lib\site-packages\win32com\client\dynamic.py", line 317, in _make_method_
methodCodeList = self._olerepr_.MakeFuncMethod(self._olerepr_.mapFuncs[name], methodName,0)
KeyError: 'Vector'
(0x80020009)
Regards,
More information about the python-win32
mailing list