[python-win32] Passing string[] parameters to c# .NET function

2013-07-17 Thread Aishwarya Sivakumar
I have a C# .NET function bool myFunc(string cmd, params string[] arg); I’m trying to access this using win32com as given below: server.myFunc(“ABCD”, [[“true”]]), but always get Type mismatch error com_error: (-2147352571, 'Type mismatch.', None, 2) Am I missing something? What is the

Re: [python-win32] Passing string[] parameters to c# .NET function

2013-07-17 Thread Tim Roberts
Aishwarya Sivakumar wrote: I have a C# .NET function bool myFunc(string cmd, params string[] arg); I’m trying to access this using win32com as given below: server.myFunc(“ABCD”, [[“true”]]), but always get Type mismatch error com_error: (-2147352571, 'Type mismatch.', None, 2) You're

[python-win32] Passing string[] parameters to c# .NET function

2013-07-17 Thread Aishwarya Sivakumar
I tried [true], [[true]], and some more combinations of tuples but everything gave type mismatch error. ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32