Jump to content
  • Advertisement

Archived

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

zer0wolf

Tricks of the Windows Game Programming Gurus

This topic is 5529 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've got a prob and was hoping one of ya'll would help me out I created a new project, included the DirectX libs, includes, and headers, and I tried to compile the third program in Chapter 6 ... it didn't work. Here's the error it gave me: demo6_3.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw4 Debug/directx.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Do any of ya know how to fix this problem? [edited by - zer0wolf on April 30, 2003 1:42:26 AM]

Share this post


Link to post
Share on other sites
Advertisement
In your include and lib directory settings, make sure that the DirectX SDK directories are at the top. VC++ comes with DirectX 3 headers and libs, so it''ll find those first and try to use them unless you put the SDK directories at the top of the list.

Share this post


Link to post
Share on other sites
Star2-

no... I just lifted the code right off of the CD that came with the book, but I don't see that anywhere in the code.

[edited by - zer0wolf on April 30, 2003 2:38:55 AM]

Share this post


Link to post
Share on other sites
Did u try to add it and see if it works?

EDIT: talking about the define (#define INITGUID)

[edited by - Star2 on April 30, 2003 2:43:29 AM]

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!