Jump to content
  • Advertisement

Archived

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

Guest Anonymous Poster

Help! Linker error with DX in MSVC++

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

Advertisement
Guest Anonymous Poster
That did it! Thanks, Goop!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I'm trying to compile a DirectX program from "Tricks of the Windows Game Programming Gurus" (demo6_1). This is my first attempt. I'm getting an unresolved external symbol error when building ("error LNK2001: unresolved external symbol _IID_IDirectDraw4"). It's the IID_IDirectDraw4 parameter when calling QueryInterface.

I set up the DirectX include and library directories in Tools->Options and included ddraw.lib in the Object/Library modules in Projects->Settings.

Did I miss anything?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!