Windows核心编程的源码编译问题,请高手指教
haozi 2001-02-23 10:01:00 我刚买了一本Windows核心编程
我在编译第一个程序时遇到错误警告如下:
c:\program files\programming applications\cmnhdr.h(212) : error C2065: 'GetWindowLongPtr' : undeclared identifier
c:\program files\programming applications\cmnhdr.h(212) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier
c:\program files\programming applications\01-errorshow\errorshow.cpp(126) : 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)'
我未能解决,请那位高手指教!