Re: [python-win32] [pywin32-bugs] ISAPI Set-Cookie Probs

2008-02-25 Thread Tom Wells
Just tried to run a build, and getting the following errors: C:\temp\pywin32>python setup.py -q build Building pywin32 2.5.210.9 Skipping win32cred WINDOWS.H with version 0x501 is required, but only version 0x500 is installed. win32servicemodule.cpp win32\src\win32servicemodule.cpp(2675) : error C2

Re: [python-win32] [pywin32-bugs] ISAPI Set-Cookie Probs

2008-02-25 Thread Tom Wells
Mark, Hi A test build would be great - I just sync'd CVS and saw your changes and about to download platform SDK etc to compile the newest version, but i'm sure you can probably get me something sooner! I will however get the sources anyways, as it's a good reference plus I may feel inclined to fi

[python-win32] context menu extension get called twice

2008-02-25 Thread TK Soh
I'm having some problem with my Explorer context menu extension. I have registered the extension to the following registry: (_winreg.HKEY_CLASSES_ROOT, r"Directory\Background\shellex\ContextMenuHandlers\TortoiseHg"), (_winreg.HKEY_CLASSES_ROOT, r"Directory\shellex\ContextMenuHandle

Re: [python-win32] [pywin32-bugs] ISAPI Set-Cookie Probs

2008-02-25 Thread Mark Hammond
> Actually there is no such fc.SetHeader() function ... Yep - it was PREPROC_HEADERS I was referring to. > SendResponseHeaders() not working is odd, and maybe i'm just misunderstanding it's use Sadly, there is a layer of indirection here I inherited from the original author which isn't necessari

Re: [python-win32] HTTP Server as a Windows Service

2008-02-25 Thread Paul Moore
On 25/02/2008, Mark Hammond <[EMAIL PROTECTED]> wrote: > I'm afraid I haven't followed this closely, but: > > > > The real problem here is that the OP hasn't notified the service > > control manager that it has stopped, once SvcDoRun completes. He needs > > a call to self.ReportServiceStatus(win

Re: [python-win32] HTTP Server as a Windows Service

2008-02-25 Thread Mark Hammond
I'm afraid I haven't followed this closely, but: > The real problem here is that the OP hasn't notified the service > control manager that it has stopped, once SvcDoRun completes. He needs > a call to self.ReportServiceStatus(win32service.SERVICE_STOPPED) > outside the while loop in SvcDoRun. Othe

Re: [python-win32] HTTP Server as a Windows Service

2008-02-25 Thread Paul Moore
On 22/02/2008, Larry Bates <[EMAIL PROTECTED]> wrote: > This seems to come up about every other week. The problem is that you > haven't > given your service a way to KNOW that you have sent a stop signal. Below is > a > skeleton of a correct SvcDoRun method: In fact, the code shown uses sel