Unresollved External in Direct Draw
man.. i have had more problems in the last week...
anwyay, i keep getting an unresolved external on directX functions, but only on DirectDrawCreate and DirectDrawCreateEx, the linker can find everything else...
ie. g_pDD->SetCooperativeLevel(...) still works
DDgraphics.obj : error LNK2001: unresolved external symbol _DirectDrawCreate@12
i have even tried the example code with the SDK, and i have made sure that the build directories are right... i am at a loss as to what is wrong. i reinstalled directX and the sdk to see f it was a bug.. but no.
Any ideas?
thanx,
RanXacT
RanXact@yahoo.com
Include ddraw.lib into your project - check your compiler documentation on how to do this.
I think most probably is that your library and include files are not in sync or you doesn't link with the correct library. Just add ddraw.lib and dxguid.lib to your project.
If that's not the case, what I know is, IDirectDraw4 and IDirectDraw7 have slightly different parameters on some function like DirectDrawCreate()...mmmm... maybe that the cause?
(correct me if i'm wrong here)
Edited by - DerekSaw on 3/30/00 10:16:57 AM
If that's not the case, what I know is, IDirectDraw4 and IDirectDraw7 have slightly different parameters on some function like DirectDrawCreate()...mmmm... maybe that the cause?
(correct me if i'm wrong here)
Edited by - DerekSaw on 3/30/00 10:16:57 AM
"after many years of singularity, i'm still searching on the event horizon"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement