DirectDraw初学问题
我这有个程序,在VC6。0工具上设置了SKD的路径,在工程里也加了dxguid.lib ddraw.lib还是编译出错!像这样error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiersc:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(12) : error C2501: 'm_pDD7' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(13) : error C2146: syntax error : missing ';' before identifier 'm_pPSur'
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(13) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(13) : error C2501: 'm_pPSur' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(14) : error C2146: syntax error : missing ';' before identifier 'm_pBBuf'
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(14) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(14) : error C2501: 'm_pBBuf' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(20) : error C2146: syntax error : missing ';' before identifier 'GetPBuffer'
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(20) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(23) : warning C4183: 'GetPBuffer': member function definition looks like a ctor, but name does not match enclosing class
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(24) : error C2146: syntax error : missing ';' before identifier 'GetBBuffer'
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(24) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(27) : warning C4183: 'GetBBuffer': member function definition looks like a ctor, but name does not match enclosing class
c:\program files\microsoft visual studio\myprojects\directdraw4\graphic.h(29) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7' LPDIRECTDRAWSURFACE7这个结构有问题!之前下一个2006版的SDK,后来再下一个2009的也不行,请问高手,这是什么问题!是电脑不支持还是SDK没用,还是SDK没连上!