Oops - forgot to reply all:
The problem is that win32service needs a later platform SDK - try changing
the line in setup.py from:
(win32service, advapi32 oleaut32 user32, True, 0x0500),
To:
(win32service, advapi32 oleaut32 user32, True, 0x0501),
And it should be
So to answer my own question: use win32gui.PumpWaitingMessages, it
uses peekmessage.
so you can then replace
PumpMessages()
with:
while PumpWaitingMessages() == 0:
#some idle function or processing here
~gvz
On Fri, Mar 28, 2008 at 11:59 AM, Gerdus van Zyl [EMAIL PROTECTED] wrote:
Hi,
Thanks that helped. In case anyone else needs it, I also did the following
Remove the service manager:
win32_extensions += [
WinExt_win32('servicemanager',
extra_compile_args = ['-DUNICODE', '-D_UNICODE',
'-DWINNT', '-DPYSERVICE_BUILD_DLL'],