<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>Thanks Mark,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>From the web page for the SDK I have. <FONT
color=#000000>"This release of the SDK is intended to replace the Windows SDK
for Vista." </FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>But this only appears to be 0x500 rather than
0x501.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>Hence my confusion.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>I get further confused when resetting the #define in
win32credmodule.cpp has no effect. What's it there for?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>I had to debug setup.py to find the culprit and
downgrade the windows_h_version required.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>Now win32cred builds OK, (no idea if it works but we'll
ignore that for now) and my next problem is either missing files or missing
variables depending on which of the three different, post Vista, SDK's I
select.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>Along the way I've discovered far more than I ever wished
to know about how setup.py and MSVC search directories and I have settled on
using the MSSDK environment variable to attempt to synchronise them - again I
don't know if it works because there doesn't seem to be a 'verbose' mode for
setup.py.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>I appreciate that second guessing how MS names it's SDK's
and where they get (randomly) installed is a mug's game so why attempt
to duplicate and track it in setup.py? Surely trapping any MSVC errors and
reporting them back would suffice?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>Even if I achieve a build, I'm not convinced that I'll be
much better off. I find that one of the key benefits of building a project
in the MSVC environment is that I can use 'goto definition' to unravel the
structure of other peoples code. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>I'm deliberately lazy when getting to grips with 'new'
stuff; I have enough to keep in my head about my own projects so all I want to
know about the new stuff is 'Is it going to help me or hinder me?' and I want to
find out with the minimum fuss and effort. I have to say that I'm disappointed
with Pywin32 in that respect.so far.Almost everything I have tried to do, right
from finding and downloading the sources has been less than
obvious.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>What would help is:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>1) certainty about exactly which MS SDK(s) are required
including dates and recent URL's.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>2) MSVC solutions, if not for all projects, at least
for the major ones.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>3) An idiots guide to the structure, both physical and
logical.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>I'd like this to work, I really would, the alternative for
me is Eclipse!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2>Dave.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=288364211-26112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Mark Hammond
[mailto:skippy.hammond@gmail.com] <B>On Behalf Of </B>Mark
Hammond<BR><B>Sent:</B> 25 November 2008 21:30<BR><B>To:</B> Dave Cross;
python-win32@python.org<BR><B>Subject:</B> RE: [python-win32] Win32Cred build
errors<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I
can't recall why we say we need that version - have you tried changing it to see
what breaks? Currently the vista SDK needs to be used as some partf of
pywin32 are starting to expose things introduced with that
OS.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Cheers,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Mark<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
python-win32-bounces+skippy.hammond=gmail.com@python.org
[mailto:python-win32-bounces+skippy.hammond=gmail.com@python.org] <B>On Behalf
Of </B>Dave Cross<BR><B>Sent:</B> Wednesday, 26 November 2008 2:29
AM<BR><B>To:</B> python-win32@python.org<BR><B>Subject:</B> [python-win32]
Win32Cred build errors<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Hi
all/anybody,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Win32credmodule.cpp for
pywin32 2.5.212.1 insists on finding a header with #define _WIN32_WINNT
0x501 in it.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">The WinResrc.h file
that comes with Microsoft Platform SDK for Windows Server 2003 R2 is only 0x500
so the build fails.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">As far as I can see,
though, this version of the SDK contains the latest WinCred.h stuff and should
work OK.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Is this a genuine
dependency or a typo?</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">If 501 is required,
which SDK(s) support it?</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Regards,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Dave.</SPAN><o:p></o:p></P></DIV>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">********************************************************************************</SPAN><o:p></o:p></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">Please
consider the environment - do you really need to print this
email?</SPAN><o:p></o:p></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'"> </SPAN><o:p></o:p></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">This email is
intended only for the person(s) named above and may contain private and
confidential information. If it has come to you in error, please destroy and
permanently delete any copy in your possession and contact us on +44 (0) 161 480
4420. The information in this email is copyright © CDL Group Holdings Limited.
We cannot accept any liability for any loss or damage sustained as a result of
software viruses. It is your responsibility to carry out such virus checking as
is necessary before opening any attachment.</SPAN><o:p></o:p></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'"> </SPAN><o:p></o:p></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">Cheshire
Datasystems Limited uses software which automatically screens incoming emails
for inappropriate content and attachments. If the software identifies such
content or attachment, the email will be forwarded to our Technology Department
for checking. You should be aware that any email which you send to Cheshire
Datasystems Limited is subject to this procedure. </SPAN><o:p></o:p></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'"> </SPAN><o:p></o:p></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">Cheshire
Datasystems Limited, Strata House, Kings Reach Road, Stockport SK4
2HD</SPAN><o:p></o:p></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">Registered in
England and Wales with Company Number 3991057</SPAN><o:p></o:p></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">VAT
registration : 727 1188 33</SPAN><o:p></o:p></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'">******************************************************************************</SPAN><o:p></o:p></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'"> </SPAN><o:p></o:p></P></DIV></DIV></BODY></HTML>