Advertisement

Help! Linker error with DX in MSVC++

Started by October 31, 1999 06:50 PM
1 comment, last by GameDev.net 25 years, 1 month ago
Add in dxguid.lib

--TheGoop

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?

Advertisement
That did it! Thanks, Goop!

This topic is closed to new replies.

Advertisement