Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Chris Curvey
On Tue, May 12, 2009 at 5:00 PM, Tim Roberts t...@probo.com wrote: Chris Curvey wrote: I'm attempting to wrap up a Python program and turn it into a service, using the method listed in Mark Hammond's book (*not* using py2exe). The program spawns a bunch of threads using the subprocess

Re: [python-win32] Extract icon from exe files

2009-05-13 Thread Nicolas EISEN
Tim Roberts a écrit : Nicolas EISEN wrote: I have a last little detail : the icon have the tranparence but the bmp take this in black. In win32ui, there are not attribute to set the background in white before write the bmp in DC ... an idea ? Did you do any investigation of this at

Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Chris Curvey
On Tue, May 12, 2009 at 4:08 PM, Chris Curvey ch...@chriscurvey.com wrote: I'm attempting to wrap up a Python program and turn it into a service, using the method listed in Mark Hammond's book (*not* using py2exe). The program spawns a bunch of threads using the subprocess module. If I run

Re: [python-win32] Vista64 Jet

2009-05-13 Thread Mark Hammond
On 11/05/2009 11:16 PM, Gerdus van Zyl wrote: I got the same error in visual studio and the solution is to set compilation to 32bit since jet does not exist for vista-64bit. I have python64 so how do I tell pywin to use the 32bit version? You can't - you need to use the 32bit version of

Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Mark Hammond
On 14/05/2009 1:08 AM, Chris Curvey wrote: exception to be raised by the logging module. And the default behavior for the logging module is to print errors to stdout, which does not exist because we're running in a thread. FYI, stdout was invalid as it was a service - nothing to do with

Re: [python-win32] python win-32, 64-bits, and services

2009-05-13 Thread Chris Curvey
On Wed, May 13, 2009 at 6:27 PM, Mark Hammond skippy.hamm...@gmail.comwrote: On 14/05/2009 1:08 AM, Chris Curvey wrote: exception to be raised by the logging module. And the default behavior for the logging module is to print errors to stdout, which does not exist because we're running in