warwick liked a post in a topic by
warwick in Compiling ApexDC++
March 21, 2010
hy guys
i have several errors with le lastest version of Apex 1.3.1 ( Strg 2.40 Compil fine)
BarShader.cpp
d:\trunk\windows\MainFrm.h(539) : error C2065: 'ITaskbarList3' : undeclared identifier
d:\trunk\windows\MainFrm.h(314) : error C2661: 'ATL::CComPtrBase<T>::CoCreateInstance' : no overloaded function takes 1 arguments
d:\trunk\windows\MainFrm.h(317) : error C2039: 'SetOverlayIcon' : is not a member of 'ATL::_NoAddRefReleaseOnCComPtr<T>'
d:\trunk\windows\MainFrm.h(319) : error C2065: 'THUMBBUTTON' : undeclared identifier
d:\trunk\windows\MainFrm.h(319) : error C2146: syntax error : missing ';' before identifier 'buttons'
d:\trunk\windows\MainFrm.h(319) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(320) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(320) : error C2228: left of '.dwMask' must have class/struct/union
d:\trunk\windows\MainFrm.h(320) : error C2065: 'THB_ICON' : undeclared identifier
d:\trunk\windows\MainFrm.h(320) : error C2065: 'THB_TOOLTIP' : undeclared identifier
d:\trunk\windows\MainFrm.h(320) : error C2065: 'THB_FLAGS' : undeclared identifier
d:\trunk\windows\MainFrm.h(321) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(321) : error C2228: left of '.iId' must have class/struct/union
d:\trunk\windows\MainFrm.h(322) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(322) : error C2228: left of '.hIcon' must have class/struct/union
d:\trunk\windows\MainFrm.h(323) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(323) : error C2228: left of '.szTip' must have class/struct/union
d:\trunk\windows\MainFrm.h(324) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(324) : error C2228: left of '.dwFlags' must have class/struct/union
d:\trunk\windows\MainFrm.h(324) : error C2065: 'THBF_ENABLED' : undeclared identifier
d:\trunk\windows\MainFrm.h(326) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(326) : error C2228: left of '.dwMask' must have class/struct/union
d:\trunk\windows\MainFrm.h(326) : error C2065: 'THB_ICON' : undeclared identifier
d:\trunk\windows\MainFrm.h(326) : error C2065: 'THB_TOOLTIP' : undeclared identifier
d:\trunk\windows\MainFrm.h(326) : error C2065: 'THB_FLAGS' : undeclared identifier
d:\trunk\windows\MainFrm.h(327) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(327) : error C2228: left of '.iId' must have class/struct/union
d:\trunk\windows\MainFrm.h(328) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(328) : error C2228: left of '.hIcon' must have class/struct/union
d:\trunk\windows\MainFrm.h(329) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(329) : error C2228: left of '.szTip' must have class/struct/union
d:\trunk\windows\MainFrm.h(330) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(330) : error C2228: left of '.dwFlags' must have class/struct/union
d:\trunk\windows\MainFrm.h(330) : error C2065: 'THBF_ENABLED' : undeclared identifier
d:\trunk\windows\MainFrm.h(332) : error C2039: 'ThumbBarAddButtons' : is not a member of 'ATL::_NoAddRefReleaseOnCComPtr<T>'
d:\trunk\windows\MainFrm.h(332) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(332) : error C2070: ''unknown-type'': illegal sizeof operand
d:\trunk\windows\MainFrm.h(332) : error C2065: 'THUMBBUTTON' : undeclared identifier
d:\trunk\windows\MainFrm.h(332) : error C2070: ''unknown-type'': illegal sizeof operand
d:\trunk\windows\MainFrm.h(332) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(334) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(334) : error C2070: ''unknown-type'': illegal sizeof operand
d:\trunk\windows\MainFrm.h(334) : error C2065: 'THUMBBUTTON' : undeclared identifier
d:\trunk\windows\MainFrm.h(334) : error C2070: ''unknown-type'': illegal sizeof operand
d:\trunk\windows\MainFrm.h(334) : warning C4018: '<' : signed/unsigned mismatch
d:\trunk\windows\MainFrm.h(335) : error C2065: 'buttons' : undeclared identifier
d:\trunk\windows\MainFrm.h(335) : error C2228: left of '.hIcon' must have class/struct/union
d:\trunk\windows\MainFrm.h(585) : error C2512: 'ATL::CComPtr' : no appropriate default constructor available
========== Build: 7 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
should include Shobjidl.h or file Shobj.h , which contains all these definitions ?
should update platform SDK from Platform SDK update
config:
VS 2008
stlport 6 form GIT repository
lastest WTL...
Crise, Lee ? Anyone help me ? ...
Thanks for your help :thumbsup:
Warwick. :)