我在运行 《Windows 核心编程》中的示例程序时遇到这样的错误?谁有这方面的经验!
f:\computer books\win-prog-src\win-prog-src\cmnhdr.h(213) : error C2065: 'GetWindowLongPtr' : undeclared identifier
f:\computer books\win-prog-src\win-prog-src\cmnhdr.h(213) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier
我在头文件cmnhdr.h加上了windows.h,还是报错,这是怎么一回事?
f:\computer books\win-prog-src\win-prog-src\cmnhdr.h(213) : error C2065: 'GetWindowLongPtr' : undeclared identifier
f:\computer books\win-prog-src\win-prog-src\cmnhdr.h(213) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier
我在头文件cmnhdr.h加上了windows.h,还是报错,这是怎么一回事?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货