Help! Linker error with DX in MSVC++

Started by
1 comment, last by GameDev.net 24 years, 5 months ago
Add in dxguid.lib

--TheGoop

Advertisement
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?

That did it! Thanks, Goop!

This topic is closed to new replies.

Advertisement