Problem including ddraw.lib, getting an unresolved symbol _DirectDrawCreate error, am i doing this in the right way?
- From: "Daniel Mattsson" <danmat378852@xxxxxxxxxxxx>
- Date: Tue, 31 May 2005 06:48:05 +0200
I´m trying to modify the taskbar code and want to include directdraw
support.
In embedded visual c I only have to link to ddraw.lib and include ddraw.h in
the source file.
I have tried to include the path to ddraw.h in PB using a right click at the
project taskbar :
project taskbar->Settings-> c/c++->Include Directories:
$(_PUBLICROOT)\SHELL\OAK\HPC\INC;..\inc;$(_PUBLICROOT)\COMMON\sdk\inc;$(_PUBLICROOT)\COMMON\oak\inc
ddraw is in the folder : $(_PUBLICROOT)\COMMON\sdk\inc
so the compiler should not have any problem with that.
Secondly I have included ddraw.lib using another right click:
project taskbar->Settings->Link->Additional Libraries: ddraw.lib
But I get an external error when trying to build and sysgen the project in
built.log :
unresolved external symbol _DirectDrawCreate referenced in function
"public: __thiscall CTaskBar::CTaskBar(void)" (??0CTaskBar@@QAE@XZ)
taskbar.lib(taskbar.obj)
Is there eny other way I should do this or ?
I haven´t found any way to set the *.lib files location either as in
embedded visual c.
Thanks for helping me out, Dani
.
- Prev by Date: Re: command line build
- Next by Date: Re: command line build
- Previous by thread: RE: Driver can not be unloaded messages
- Next by thread: dot net cf updata
- Index(es):