Jump to content
  • Advertisement

Archived

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

Gouky

DirectDraw ... again ...

This topic is 5972 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!