Tim Newsham wrote:
>>> visual studio 7.1 and the win sdk?  What do I need to install to
>>> properly build pywin32?
>>
>> It may be worth trying an older version of the SDK.  The Vista SDK
>> version of specstrings.h does not try to include sal.h.
>
> Vista SDK worked a lot better, but did not make it all the way through:
>
> e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIMAPIProp.h(6) :
> error C2143: syntax error : missing ';' before '*'
> e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIMAPIProp.h(6) :
> error C2501: 'PyIMAPIProp::GetI' : missing storage-class or type
> specifiers
> e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIMAPIProp.h(6) :
> warning C4183: 'GetI': missing return type; assumed to be a member
> function returning 'int'
> e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIProfSect.h(6) :
> error C2143: syntax error : missing ';' before '*'
> e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIProfSect.h(6) :
> error C2501: 'PyIProfSect::GetI' : missing storage-class or type
> specifiers
> e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIProfSect.h(6) :
> warning C4183: 'GetI': missing return type; assumed to be a member
> function returning 'int'
> com\win32comext\mapi\src\PyIProfSect.cpp(646) : error C2143: syntax
> error : missing ';' before '*'
> com\win32comext\mapi\src\PyIProfSect.cpp(646) : error C2501:
> 'IProfSect' : missing storage-class or type specifiers
> com\win32comext\mapi\src\PyIProfSect.cpp(647) : error C2501:
> 'PyIProfSect::GetI' : missing storage-class or type specifiers
> com\win32comext\mapi\src\PyIProfSect.cpp(648) : error C2059: syntax
> error : ')'
>
> (either on IMAPIProp or PyObject, probably the former)

Yes, but that's not sensible.  That code hasn't changed in 9 years. 
IMAPIProp and IProfSect both live in the SDK in mapidefs.h.

Didn't you have to install SWIG to run this?  What version did you get? 
Perhaps you should check those files to see if anything looks unusual. 
Both of them are generated by SWIG.

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to