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

2013-07-23 Thread Aishwarya Sivakumar
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 my

Re: [python-win32] Question: Who killed a windows service

2013-07-23 Thread Mark Hammond
The Windows "system" event log should have this information. Mark On 23/07/2013 8:21 PM, Hans Rakotomanga wrote: Hi, I have a pywin32 service running on a shared computer. Now and then it gets killed by another user, for good reason mostly, but I would like to ask the person who does this why

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

2013-07-23 Thread Bill Tutt
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...@g

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

2013-07-23 Thread Aishwarya Sivakumar
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 a

[python-win32] Question: Who killed a windows service

2013-07-23 Thread Hans Rakotomanga
Hi, I have a pywin32 service running on a shared computer. Now and then it gets killed by another user, for good reason mostly, but I would like to ask the person who does this why he/she/it did it. S, is there a way to extract this information and have the service write it in its logs ? :)