<div dir="ltr">This is what i got from the OleView:<div>HRESULT myFunc(string cmd, params object[] arg)<br><div><div>[id(0x6002003a), vararg]</div><div>        HRESULT myFunc(</div><div>                        [in] BSTR cmd, </div>
<div>                        [in] SAFEARRAY(VARIANT) arg, </div><div>                        [out, retval] VARIANT_BOOL* pRetVal);</div><div><br></div><div>HRESULT myFunc(string cmd, params string[] arg)<br></div><div>[id(0x6002003a)]</div>
<div>        HRESULT myFunc(</div><div>                        [in] BSTR cmd, </div><div>                        [in] SAFEARRAY(BSTR) arg, </div><div>                        [out, retval] VARIANT_BOOL* pRetVal);</div></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 23, 2013 at 11:40 PM, Bill Tutt <span dir="ltr"><<a href="mailto:bill@tutts.org" target="_blank">bill@tutts.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?<div>
<br></div><div>That ought to provide us with the biggest hint I would think. </div><span class="HOEnZb"><font color="#888888">
<div><br></div><div>Bill</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 23, 2013 at 9:44 AM, Aishwarya Sivakumar <span dir="ltr"><<a href="mailto:aishwaryashiv@gmail.com" target="_blank">aishwaryashiv@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div>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</div>

<div><pre style="white-space:pre-wrap">bool myFunc(string cmd, params object[] arg)</pre><pre style="white-space:pre-wrap"><span style="color:rgb(34,34,34);font-family:arial;white-space:normal">I could give </span><span style="font-family:arial">server.myFunc(“ABCD”, [“true”]) and the function is called properly.</span></pre>


</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 10:16 PM, Tim Roberts <span dir="ltr"><<a href="mailto:timr@probo.com" target="_blank">timr@probo.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Vernon D. Cole wrote:<br>
> Reaching to a .NET assembly from traditional ("non managed") code such<br>
> as CPython is not easy.<br>
<br>
</div>Well, based on the partial solution that he has so far, I'm assuming he<br>
has exported a COM object from his .NET code.  At that point, it<br>
shouldn't be any different from any other COM server.<br>
<div><div><br>
--<br>
Tim Roberts, <a href="mailto:timr@probo.com" target="_blank">timr@probo.com</a><br>
Providenza & Boekelheide, Inc.<br>
<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
</div></div></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>