Just as much a note to my self next time I have to install VS 2005 as to anyone else. But I couldn't compile any Win32 app before I got this fixed. If you ever get error output like this in VS2005:
Code:c:\Program Files\Microsoft Platform SDK\include\winnt.h(222) : error C2061: synt ax error : identifier 'PVOID64' c:\Program Files\Microsoft Platform SDK\include\winnt.h(222) : error C2059: synt ax error : ';' c:\Program Files\Microsoft Platform SDK\include\winnt.h(5940) : error C2061: syn tax error : identifier 'PVOID64' c:\Program Files\Microsoft Platform SDK\include\winnt.h(5942) : error C2059: syn tax error : '}' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5056) : error C2146: s yntax error : missing ')' before identifier 'aSegmentArray' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5056) : error C2081: ' FILE_SEGMENT_ELEMENT' : name in formal parameter list illegal c:\Program Files\Microsoft Platform SDK\include\winbase.h(5056) : error C2061: s yntax error : identifier 'aSegmentArray' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5056) : error C2059: s yntax error : ';' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5056) : error C3409: e mpty attribute block is not allowed c:\Program Files\Microsoft Platform SDK\include\winbase.h(5056) : error C2059: s yntax error : ',' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5060) : error C2059: s yntax error : ')' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5067) : error C2146: s yntax error : missing ')' before identifier 'aSegmentArray' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5067) : error C2081: ' FILE_SEGMENT_ELEMENT' : name in formal parameter list illegal c:\Program Files\Microsoft Platform SDK\include\winbase.h(5067) : error C2061: s yntax error : identifier 'aSegmentArray' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5067) : error C2059: s yntax error : ';' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5067) : error C3409: e mpty attribute block is not allowed c:\Program Files\Microsoft Platform SDK\include\winbase.h(5067) : error C2059: s yntax error : ',' c:\Program Files\Microsoft Platform SDK\include\winbase.h(5071) : error C2059: s yntax error : ')'
Change this line (222) in winnt.h:
toCode:typedef void * POINTER_64 PVOID64;
and you can compile just fine.Code:typedef void * POINTER_64; typedef void * PVOID64;
*running away mumbeling back to my pixel shader...*
- ØØ -


Reply With Quote