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 passing a list containing a list containing a string --
essentially string[][].   Have you tried it with only one set of brackets?

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to