Jump to content
  • Advertisement

Archived

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

Turtlebread

Linker Issues

This topic is 6588 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 have a question on linking with DirectX. I have two workspaces, one with several examples from LaMothes book and one with my own work. Anyway, I can get the LaMothe examples to compile fine with only including ddraw.lib. However, in order to prevent unresolved external symbol errors in my workspace, I need to include ddraw.lib AND dxguid.lib. Anyone know why this is? I''m SURE I don''t have the dxguid.lib listed anywhere in LaMothes examples..Its not really important, but i''m just curious as to why. Thanks for your help, Chris

Share this post


Link to post
Share on other sites
Advertisement
Basically the deal is that you have to load the GUIDs for the DirectX interfaces.

From the SDK documentation:
quote:

To use GUIDs successfully in your application, you must either define INITGUID prior to all other include and define statements, or you must link to the Dxguid.lib library. You should define INITGUID in only one of your source modules.



Edited by - SiCrane on November 28, 2000 1:48:41 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.

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!