[python-win32] Passing string[] parameters to c# .NET function
Tim Roberts
timr at probo.com
Thu Jul 18 19:14:43 CEST 2013
Aishwarya Sivakumar wrote:
> I tried ["true"], [["true"]], and some more combinations of tuples but everything gave type mismatch error.
Unfortunately, in COM there are several ways to declare an array of
strings, and not all of those ways are easy to generate in Python. Are
you able to run makepy on this class? If so, you could look at the
generated Python wrapper and tells us the type codes it discovered.
That might help some of the Python COM experts come up with a recipe.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list