DirectDraw ... again ...

Started by
0 comments, last by Gouky 22 years, 1 month ago
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
----Gouky
Advertisement
Ok its ok , VC was geting the default ddraw.h and the default ddraw.lib in c:\program files .... kill VC...

later


----
Gouky
----Gouky

This topic is closed to new replies.

Advertisement