网上下载的《Windows核心编程》的源代码编译产生如下错误,该怎么解决??
VCzjj 2006-02-16 11:00:36 网上下载的《Windows核心编程》的源代码编译产生如下错误,该怎么解决??
我使用的是VC6.0!
--------------------Configuration: 22 LastMsgBoxInfo - Win32 Debug----------
----------
Compiling resources...
Compiling...
LastMsgBoxInfo.cpp
You are not using the latest Platform SDK header/library
files. This may prevent the project from building correctly.
c:\documents and settings\123\桌面\windowshxbc\cmnhdr.h(212) : error C2065:
'GetWindowLongPtr' : undeclared identifier
c:\documents and settings\123\桌面\windowshxbc\cmnhdr.h(212) : error C2065:
'GWLP_HINSTANCE' : undeclared identifier
c:\documents and settings\123\桌面\windowshxbc\22-
lastmsgboxinfo\lastmsgboxinfo.cpp(69) : error C2065: 'HANDLE_WM_COPYDATA' :
undeclared identifier
c:\documents and settings\123\桌面\windowshxbc\22-
lastmsgboxinfo\lastmsgboxinfo.cpp(87) : 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
Error executing cl.exe.
22 LastMsgBoxInfo.exe - 4 error(s), 0 warning(s)