Jump to content
  • Advertisement


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


versions of Direct Draw

This topic is 6493 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

In Lamothe''s book tips of the windows game programming gurus when making his surfaces he goes LPDIRECTDRAWSURFACE4 lpddsprimary4; Well my compiler doesnt know what a LPDIRECTDRAWSURFACE4 is it only knows of LPDIRECTDRAWSURFACE Can someone tell me what the difference is and how to set my compiler up to use LPDIRECTDRAWSURFACE4; Im using mvc++ and have it set up right as far as I know, all my direct draw programs work

Share this post

Link to post
Share on other sites
LPDIRECTDRAWSURFACE4 is DirectX5 specific.. if you use LPDIRECTDRAWSURFACE instead.. it will choose whatever version it wants (that''s the impression I got from all of the books that I have read). I did not have any problems .. and some people that I have talked to in the past said it took a DirectX1 surface (I do not believe that!). But the correct way is to point your DirectX includes BEFORE the normal compiler includes.. and it should compile just fine.

Good luck,

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!