Archived

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

Gouky

DirectDraw ... again ...

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
Ok its ok , VC was geting the default ddraw.h and the default ddraw.lib in c:\program files .... kill VC...

later


----
Gouky

Share this post


Link to post
Share on other sites