小弟最近正在看核心编程这本书,可惜运行源码老是出错:"You are not using the latest Platform SDK header/library 
files. This may prevent the project from building correctly.",接着出现六个错误:
"c:\program files\programming applications\cmnhdr.h(211) : error C2065: 'GetWindowLongPtr' : undeclared identifier
c:\program files\programming applications\cmnhdr.h(211) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier
c:\program files\programming applications\01-errorshow\errorshow.cpp(83) : error C2065: 'PCTSTR' : undeclared identifier
c:\program files\programming applications\01-errorshow\errorshow.cpp(83) : error C2146: syntax error : missing ')' before identifier 'LocalLock'
c:\program files\programming applications\01-errorshow\errorshow.cpp(83) : error C2059: syntax error : ')'
c:\program files\programming applications\01-errorshow\errorshow.cpp(125) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,u
nsigned int,long)'"
我用的windows xp,vc++6.0,请高用指点!