Running on Python 3.7 with pywin32 225.
I'm trying to interface with SAP GUI Scripting read-write properties, but writing to properties gives me an error as it doesn't do PUTs correctly. I've traced the issue back to commit to fix #1199 where the return value is changed from invoke_type to varkind. I believe some kind of special typing should be done with regards to PUTs instead of just sending back varkind directly.
The error I'm encountering:
File "\lib\site-packages\win32com\client\dynamic.py", line 559, in __setattr__
self._oleobj_.Invoke(entry.dispid, 0, invoke_type, 0, value)
pywintypes.com_error: (-2147352562, 'Invalid number of parameters.', None, None)
Running on Python 3.7 with pywin32 225.
I'm trying to interface with SAP GUI Scripting read-write properties, but writing to properties gives me an error as it doesn't do PUTs correctly. I've traced the issue back to commit to fix #1199 where the return value is changed from
invoke_typetovarkind. I believe some kind of special typing should be done with regards to PUTs instead of just sending backvarkinddirectly.The error I'm encountering: