This is what i got from the OleView: HRESULT myFunc(string cmd, params object[] arg) [id(0x6002003a), vararg] HRESULT myFunc( [in] BSTR cmd, [in] SAFEARRAY(VARIANT) arg, [out, retval] VARIANT_BOOL* pRetVal);
HRESULT myFunc(string cmd, params string[] arg) [id(0x6002003a)] HRESULT myFunc( [in] BSTR cmd, [in] SAFEARRAY(BSTR) arg, [out, retval] VARIANT_BOOL* pRetVal); On Tue, Jul 23, 2013 at 11:40 PM, Bill Tutt <b...@tutts.org> wrote: > 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 < > aishwaryas...@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 <t...@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, t...@probo.com >>> Providenza & Boekelheide, Inc. >>> >>> _______________________________________________ >>> python-win32 mailing list >>> python-win32@python.org >>> http://mail.python.org/mailman/listinfo/python-win32 >>> >> >> >> _______________________________________________ >> python-win32 mailing list >> python-win32@python.org >> http://mail.python.org/mailman/listinfo/python-win32 >> >> >
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32