我的opencv.dsw的批组建没有问题,但是opencv_directshow.dsw批组建就出现了问题,
问题是D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(243) : error C2065: 'GetWindowLongPtr' : undeclared identifier
D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(243) : error C2065: 'GWLP_USERDATA' : undeclared identifier
D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(422) : error C2065: 'SetWindowLongPtr' : undeclared identifier
D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(422) : error C2065: 'LONG_PTR' : undeclared identifier
D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(817) : error C2065: 'GetClassLongPtr' : undeclared identifier
D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(817) : error C2065: 'GCLP_HBRBACKGROUND' : undeclared identifier
D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(961) : error C2065: 'GCLP_HCURSOR' : undeclared identifier
D:\Program Files (x86)\OpenCV\otherlibs\highgui\window_w32.cpp(1242) : error C2065: 'GWLP_WNDPROC' : undeclared identifier
我的系统是64位的win7系统。另外我在安装directSDK也出现了问题。想安装9.0b。但是电脑显示我已经安装了更新的版本了。估计是以前玩游戏的时候装的。可是现在由于编程需要,该怎么换呢?求帮忙啊opencv批组建