Jump to content
  • Advertisement

Archived

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

GameDev135

A beginner having problems with Direct Draw

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

I just started to use directx. I was reading from the book Tricks of The Windows Game Programming Gurus, and it was saying how to QueryInterface to use the latest version of directx. I copied the code directly from the book, but it gave me a linking error, saying that it couldnt find IID_IDirectDraw4 I have all of the includes (I believe) including #include and I have included ddraw.lib in the libraries. I also have put the directory which directx is installed on my computer into Tools->options->and then directories. This seems like it may be important and I need help. Thanks Daniel

Share this post


Link to post
Share on other sites
Advertisement
Try adding dxguid.lib to your project. I had the same kind of thing.... Always have this file in all of your projects.

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!