[python-win32] Runnin Python app as service with separate console

2006-04-04 Thread Morgan, Byron
I have a robust, stable Python script that runs 24-7, crunching a telnet feed of real-time data. Problem is, it has to run in a dos console window on the desktop. I would like to run it as a service, and be able connect to it and monitor performance with a separate console (either gui or not) from

[python-win32] Garbage collection of dispatched classes with dispatched classes

2006-04-04 Thread Metz, Bobby W, WCS
Hi, I'm hoping someone might provide some COM dispatching insights as I'm relatively new to it in Python. Does using static binding provide for better garbage collection when the dispatched class has dispatched classes of it's own? The nitty gritty... I'm dispatching a registered

Re: [python-win32] Importing an array from COM into Python

2006-04-04 Thread Mark Hammond
> I am trying to get the arrays out of this function (from the IDL): > > [id(175), helpstring("method CreateFooBarArray")] HRESULT > CreateFooBarArray([out]DOUBLE** FooArray, [out] DOUBLE** BarArray, > [out,retval] ULONG* SizeOfFooBarArrays); > > The two arrays (Foo and Bar) are created with malloc

Re: [python-win32] Importing an array from COM into Python

2006-04-04 Thread Metz, Bobby W, WCS
Not sure about your COM issue, but assuming Google hits all the archive pages like I think it does, just use "site:mail.python.org" on the end of your search string. Bobby -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dana Robinson Sent: Tuesday, April 04,

[python-win32] Importing an array from COM into Python

2006-04-04 Thread Dana Robinson
Hello, I am trying to get the arrays out of this function (from the IDL): [id(175), helpstring("method CreateFooBarArray")] HRESULT CreateFooBarArray([out]DOUBLE** FooArray, [out] DOUBLE** BarArray, [out,retval] ULONG* SizeOfFooBarArrays); The two arrays (Foo and Bar) are created with malloc and