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

Tom Wells drshade at gmail.com
Mon Feb 25 16:36:35 CET 2008


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 C2065:
'SERVICE_CONTROL_PRESHUTDOWN' : undeclared identifier
win32\src\win32servicemodule.cpp(2733) : error C2065:
'SERVICE_ACCEPT_PRESHUTDOWN' : undeclared identifier
error: command '"C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\cl.exe"' failed with exit status 2

I have vs2003 installed (for python 2.5.1), plus just downloaded and
installed the latest platform sdk from (
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en#filelist
).

Any ideas? I'm purely after the ISAPI bits.

Thanks,
Tom


On Mon, Feb 25, 2008 at 4:28 PM, Tom Wells <drshade at gmail.com> wrote:

> 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 finish
> off some of your TBD's (such as the SF_NOTIFY_SEND_RESPONSE notification,
> which should be very easy as it takes exactly the same notificationtype as
> SF_NOTIFY_PREPROC_HEADERS according to ISAPI documentation).
>
> Thanks for the support so far - really appreciate it!
>
> Please let me know once you have a build available, I am running python
> 2.5.1 (32 bit), but would also require an amd64 build if possible?
>
> Thanks,
> Tom
>
>
>
> On Mon, Feb 25, 2008 at 3:50 PM, Mark Hammond <mhammond at skippinet.com.au>
> wrote:
>
> > > 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 necessarily intuitive.  SendResponseHeaders() is used
> > by
> > an extension and which as the docs mention (or at least do in CVS - its
> > likely they do not in your copy), "calls ServerSupportFunction with
> > HSE_REQ_SEND_RESPONSE_HEADER_EX" - which you will find takes 3 params -
> > response, complete_headers, keep_alive, where response is the "200 OK"
> > string, complete_headers is a string with \r\n terminators, and
> > keep_alive
> > is a bool (which, best I can tell, has no effect on anything!)
> >
> > I have added HTTP_FILTER_CONTEXT AddResponseHeaders() to CVS though -
> > let me
> > know if you would like a build to test (and let me know your Python
> > version)
> > - and that goes for anyone else too - build 211 gets closer by the day
> > (just
> > get Roger to stop fixing lots of pythonwin bugs <wink>) so I'll point
> > anyone
> > who asks at test builds...
> >
> > Cheers,
> >
> > Mark.
> >
> >
>
>
> --
> http://www.tomwells.org




-- 
http://www.tomwells.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080225/3acc3d11/attachment-0001.htm 


More information about the python-win32 mailing list