我使用了这个函数!
LPDIRECTDRAW lpdd=NULL;//storage for IDirectDraw  DirectDrawCreate(NULL,&lpdd,NULL);
这个函数需要的头文件和库我都链接了,但是报错如下!
D:\program\DDraw\DDrawDlg.cpp(142) : error C2065: 'LPDIRECTDRAW' : undeclared identifier
D:\program\DDraw\DDrawDlg.cpp(142) : error C2146: syntax error : missing ';' before identifier 'lpdd'
很显然是有什么文件没包含,或者是库文件没有链接!
请高手指点!