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