🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

error LNK2001: unresolved external symbol _IID_IdirectDraw4

Started by
2 comments, last by GameDev.net 24 years, 7 months ago
You have to link with dxguid.lib, and it's
not IID_IdirectDraw, it's IID_IDirectDraw.

Advertisement
It could happen to anyone. It took me a while to figure that out at first. I don't think the documentation is very clear on what files you must include.
William Reiach - Human Extrodinaire

Marlene and Me


Hey guys a little help over here.
I always use directdraw 6 but, I never used IdirectDraw4 and any time that I tried to used it gives me this error :
Compiling...
IniciaWin.cpp
Linking...
IniciaWin.obj : error LNK2001: unresolved external symbol _IID_IdirectDraw4
Debug/game01.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

game01.exe - 2 error(s), 0 warning(s)
I’m using all the libs and incs and I don’t know what to do.

Any help will appreciate

Thanks in advance

_José

hey you save my life thanks

This topic is closed to new replies.

Advertisement