[python-win32] Bug - Passing byref an array to a com method interpreted as a single element

2019-01-21 Thread rvc69
Hello, I'm trying to translate a VBA application to Python. I cannot change the COM Server as its works also with others programs. It seems I have a problem with win32com.client by passing an array of double to a COM method. VBA allows to pass arrays to COM server byref on the first element o

Re: [python-win32] Bug - Passing byref an array to a com method interpreted as a single element

2019-01-21 Thread Tim Roberts
rv...@free.fr wrote: I'm trying to translate a VBA application to Python. I cannot change the COM Server as its works also with others programs. It seems I have a problem with win32com.client by passing an array of double to a COM method. VBA allows to pass arrays to COM server byref on the

Re: [python-win32] Bug - Passing byref an array to a com method interpreted as a single element

2019-01-21 Thread Tim Roberts
Tim Roberts wrote: rv...@free.fr wrote: It seems win32client do not interpret correctly the type expected by the COM server, here float() instead of pointer on an array of float. That statement is not accurate.  The fault is not in win32client. The root of the problem is that the function