明明已经装了PSDK了,怎么还提示没有更新最新的SDK
最近学windows核心编程,我用的windows核心编程第四版,把源码打开编译就报错。在网上查了好久,说是没有安装最新的SDK,我电脑上已经装了SDK for windows server 2003 SP1啊,而且在VC6.0的directies里面也设置了INCLUDE和LIB,都提到了首位。难道这个SDK还不够新?最烦这些琐事,还没开始学就被这些环境啊,配置之类的事情搞烦死了。求大神帮帮忙。另外说一句,这个CSDN里面发帖打字总是有种卡得感觉,是服务器不行了吗?
ErrorShow.cpp
You are not using the latest Platform SDK header/library
files. This may prevent the project from building correctly.
..\CmnHdr.h(212) : error C2065: 'GetWindowLongPtr' : undeclared identifier
..\CmnHdr.h(212) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier
ErrorShow.cpp(83) : error C2065: 'PCTSTR' : undeclared identifier
ErrorShow.cpp(83) : error C2146: syntax error : missing ')' before identifier 'L
ocalLock'
ErrorShow.cpp(83) : error C2059: syntax error : ')'
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,long)'
None of the functions with this name in scope match the target type
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.