I'm working with MS Visual C++ 6 and with DirectX SDK 9.
I've been trying to compile a program, but I allways gtet an error when I compile it.
I've included the DDraw.lib in the project, but it still won't work. This is the line where I recieve the error:
And the error es:
Thank you
I've been trying to compile a program, but I allways gtet an error when I compile it.
I've included the DDraw.lib in the project, but it still won't work. This is the line where I recieve the error:
Code:
LPDIRECTDRAW7 lpdd = NULL;
And the error es:
Code:
f:\videojuegos\directdraw-surface.cpp(48) : error C2146: syntax error : missing ';' before identifier 'lpdd'
f:\videojuegos\directdraw-surface.cpp(48) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
f:\videojuegos\directdraw-surface.cpp(48) : fatal error C1004: unexpected end of file found
Thank you