Linker Issues

Started by
0 comments, last by Turtlebread 23 years, 4 months ago
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
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

This topic is closed to new replies.

Advertisement