《WINDOWS 核心编程》问题
《WINDOWS 核心编程》安装代码后一直编译不通过,报如下错误
You are not using the latest Platform SDK header/library
files. This may prevent the project from building correctly.
d:\programming applications\cmnhdr.h(212) : error C2065: 'GetWindowLongPtr' : undeclared identifier
d:\programming applications\cmnhdr.h(212) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier
d:\programming applications\01-errorshow\errorshow.cpp(83) : error C2065: 'PCTSTR' : undeclared identifier
d:\programming applications\01-errorshow\errorshow.cpp(83) : error C2146: syntax error : missing ')' before identifier 'LocalLock'
d:\programming applications\01-errorshow\errorshow.cpp(83) : error C2059: syntax error : ')'
d:\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,unsigned int,lo
ng)'
None of the functions with this name in scope match the target type
请问如何进行环境设置,是否需要安装什么SDK?