[python-win32] Passing string[] parameters to c# .NET function
Bill Tutt
bill at tutts.org
Tue Jul 23 20:10:18 CEST 2013
What does myFunc (both the params string[] and params object[] version)
look like in the generated .tlb (from regasm.exe /tlb) when viewed using
OleView.exe?
That ought to provide us with the biggest hint I would think.
Bill
On Tue, Jul 23, 2013 at 9:44 AM, Aishwarya Sivakumar <
aishwaryashiv at gmail.com> wrote:
> Hi,
> Thanks, I could verify the same with IronPython. I was just curious if
> there was a solution using win32com. Also when i modified the function
>
> bool myFunc(string cmd, params object[] arg)
>
> I could give server.myFunc(“ABCD”, [“true”]) and the function is called properly.
>
>
> On Fri, Jul 19, 2013 at 10:16 PM, Tim Roberts <timr at probo.com> wrote:
>
>> Vernon D. Cole wrote:
>> > Reaching to a .NET assembly from traditional ("non managed") code such
>> > as CPython is not easy.
>>
>> Well, based on the partial solution that he has so far, I'm assuming he
>> has exported a COM object from his .NET code. At that point, it
>> shouldn't be any different from any other COM server.
>>
>> --
>> Tim Roberts, timr at probo.com
>> Providenza & Boekelheide, Inc.
>>
>> _______________________________________________
>> python-win32 mailing list
>> python-win32 at python.org
>> http://mail.python.org/mailman/listinfo/python-win32
>>
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20130723/2b4b2d0c/attachment.html>
More information about the python-win32
mailing list