This topic is now archived and is closed to further replies.

DirectDraw ... again ...

This topic is 5755 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok , i have installed VC6 and DirectX 8.1 SDK , i would like to use Direct Draw so i have included ddraw.h, ddraw.lib and dxguid.lib. i have made some code , i have type this line : LPDIRECTDRAW7 lpdd7 = NULL; but when i compile it i''m getting : c:\temp\taquin_step2\taquin.cpp(30) : error C2146: syntax error : missing '';'' before identifier ''lpdd7'' c:\temp\taquin_step2\taquin.cpp(30) : error C2501: ''LPDIRECTDRAW7'' : missing storage-class or type specifiers c:\temp\taquin_step2\taquin.cpp(30) : fatal error C1004: unexpected end of file found I have checked my include, my librairie and my missing '';'' everything seems ok . If somebody can help ... BTW great site ---- Gouky

Share this post

Link to post
Share on other sites