Advertisement

error LNK2001: unresolved external symbol _IID_IdirectDraw4

Started by November 14, 1999 02:25 PM
2 comments, last by GameDev.net 25 years, 2 months ago
You have to link with dxguid.lib, and it's
not IID_IdirectDraw, it's IID_IDirectDraw.

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


Advertisement
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