Why won't DirectX work?!

Started by
12 comments, last by Wachar 21 years, 11 months ago
you need to add a LIB file in your link options menu


- master_ball

----------------------------
We R 138
-- master_ball --------------------------------student seeking future game dev career, advice welcome
Advertisement
quote:Main.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw4
Debug/FirstEcounter.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.


Try adding DXGUID.LIB to the library list in the linker options. That should fix a lot of link errors relating to IID_whatever. Also did you add DDRAW.LIB to the list as well if you don''t you''ll have even more headaches if you try to use DirecDrawCreate()

--------------------------Insert witty comment here!--------------------------
Thanks master_ball, I found that I needed dxguid.lib.

Take it to the Xtreme!

Wachar's Eternity <-<-<-<-<- Me own site!
Thanks to Dan also. He posted it right before I had a chance to post my post.

Take it to the Xtreme!

Wachar's Eternity <-<-<-<-<- Me own site!

This topic is closed to new replies.

Advertisement