Skip to main content
Topic: Errors when compiling WSH Panel Mod (Read 8603 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Errors when compiling WSH Panel Mod

Hi.

Recently I wanted to recompile the WSH Panel Mod. So I've downloaded Visual C++ 2008 Express, the newest Foobar SDK, Columns UI SDK and the WSH Panel Mod source code. After importing the WSH Panel Mod and trying to compile it I've immediately received errors about vld.h missing. After some searching the net I've downloaded this: http://www.codeproject.com/KB/applications...akdetector.aspx and the problem seemed to go away. The next problem was about atlbase.h missing, so I've downloaded "Microsoft Platform SDK for Windows Server 2003 R2" but now I get: "2>foo_uie_wsh_panel_mod - 81 error(s), 109 warning(s)" while trying to compile the source code... All errors seem to come from the "Microsoft Platform SDK for Windows Server 2003 R2" however that was the only package I could find that would contain the needed libraries. I'm pasting the errors I get.

Code: [Select]
Compiling...
stdafx.cpp
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlconv.h(460) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlconv.h(461) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(513) : warning C4995: '_vsnprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(513) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(520) : warning C4995: 'lstrcpyA': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(537) : warning C4995: '_vsnprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(537) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(544) : warning C4995: 'lstrcpyA': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(561) : warning C4995: '_vsnwprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(561) : warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\wchar.h(719) : see declaration of '_vsnwprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(584) : warning C4995: '_vsnwprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(584) : warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\wchar.h(719) : see declaration of '_vsnwprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6262) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6262) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6866) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6866) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6901) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6901) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(65) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(79) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(155) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(155) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(168) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(168) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1383) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1383) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1414) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1414) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1753) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1753) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1753) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1755) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1757) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2646) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2646) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2647) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2647) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2979) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2979) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3003) : warning C4995: 'wsprintfA': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3058) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3058) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3082) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(124) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(124) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(85) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(85) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(99) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(99) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(142) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(142) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(143) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(143) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(2439) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlframe.h(2439) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atldlgs.h(544) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atldlgs.h(544) : error C2228: left of '.ExtractCreateWndData' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3242) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3242) : error C2228: left of '.Lock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3244) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3244) : error C2228: left of '.Unlock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3366) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3366) : error C2228: left of '.CreateInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3373) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3373) : error C2228: left of '.Lock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3375) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3375) : error C2228: left of '.Unlock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3641) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3641) : error C2228: left of '.m_csTypeInfoHolder' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3658) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3658) : error C2228: left of '.AddTermFunc' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3667) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3667) : error C2228: left of '.m_csTypeInfoHolder' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrls.h(1805) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrls.h(1805) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrls.h(1816) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrls.h(1816) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrls.h(2080) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrls.h(2080) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(193) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(193) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(815) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(815) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(828) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(828) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(845) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(845) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(858) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(858) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(1732) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(1732) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(1782) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlctrlx.h(1782) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
TmSchema.h is obsolete. Please include vssym32.h instead.
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atltheme.h(489) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atltheme.h(504) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(817) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(817) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(910) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(910) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(921) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(921) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(1159) : error C2440: 'return' : cannot convert from 'const wchar_t *' to 'TCHAR *'
        Conversion loses qualifiers
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(1164) : error C2440: 'return' : cannot convert from 'const wchar_t *' to 'TCHAR *'
        Conversion loses qualifiers
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(1174) : error C2440: 'return' : cannot convert from 'const wchar_t *' to 'TCHAR *'
        Conversion loses qualifiers
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(1189) : error C2440: 'return' : cannot convert from 'const wchar_t *' to 'TCHAR *'
        Conversion loses qualifiers
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(2383) : warning C4995: 'wvsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(2383) : warning C4995: 'wvsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(2967) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(2967) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3009) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3009) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3038) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3038) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3113) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3113) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3121) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3121) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3158) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3158) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3174) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3174) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3220) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3220) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3230) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3230) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3317) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3317) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3334) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3334) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3340) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3340) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3345) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3345) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3363) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3363) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3376) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3376) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3378) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3378) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3386) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3386) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3557) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3557) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3639) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3639) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3648) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3648) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3657) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3657) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3677) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3677) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3696) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3696) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3718) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3718) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3727) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3727) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3736) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3736) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3775) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3775) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3795) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3795) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3885) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3885) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3917) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3917) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3947) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3947) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3951) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3951) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3958) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3958) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3969) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlmisc.h(3969) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(49) : warning C4995: 'gets': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(53) : warning C4995: 'sprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(56) : warning C4995: 'vsprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstring(22) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstring(23) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(36) : warning C4995: 'swprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(37) : warning C4995: 'vswprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(39) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(41) : warning C4995: 'wcscpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(374) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(376) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(1070) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(1072) : warning C4995: 'wcscpy': name was marked as #pragma deprecated
d:\c++ foobar\columns_ui-sdk\splitter.h(241) : error C2065: 'infinite' : undeclared identifier
d:\c++ foobar\columns_ui-sdk\columns_ui.h(104) : error C2065: 'infinite' : undeclared identifier

Please, help me. I'm a begginner in C++, so please be understanding...

Errors when compiling WSH Panel Mod

Reply #1
VLD is optional, you define NO_VISUAL_LEAK_DETECTOR to disable it.

WSH Panel Mod also requires WTL library (http://sourceforge.net/projects/wtl/files/)


And you have to modify columns_ui-sdk source
change infinite to pfc_infinite or (~0)

and here is the patch for columns_ui-sdk:
Code: [Select]
diff -u columns_ui-sdk-old/columns_ui.h columns_ui-sdk/columns_ui.h
--- columns_ui-sdk-old/columns_ui.h 2008-06-19 20:40:09.377000000 +0800
+++ columns_ui-sdk/columns_ui.h 2010-01-10 09:49:43.892005900 +0800
@@ -101,7 +101,7 @@
  for (n=0;n<count;n++)
  {
  const char * ptr = get_item(n)->get_name();
- if (!stricmp_utf8_ex(p_name,length,ptr,infinite))
+ if (!stricmp_utf8_ex(p_name,length,ptr,pfc_infinite))
  return get_item(n)->get_value();
  }
  return 0;
diff -u columns_ui-sdk-old/splitter.h columns_ui-sdk/splitter.h
--- columns_ui-sdk-old/splitter.h 2008-06-27 03:15:06.225000000 +0800
+++ columns_ui-sdk/splitter.h 2010-01-10 09:49:43.942006000 +0800
@@ -238,7 +238,7 @@
  /** This method may be called on both active and inactive (i.e. no window) instances */
  virtual void replace_panel(t_size index, const splitter_item_t * p_item)=0;
  virtual t_size get_panel_count()const=0;
- virtual t_size get_maximum_panel_count()const{return infinite;};
+ virtual t_size get_maximum_panel_count()const{return pfc_infinite;};
 
  /** Reserved for future use */
  virtual void register_callback(splitter_callback * p_callback){};
diff -u columns_ui-sdk-old/window.h columns_ui-sdk/window.h
--- columns_ui-sdk-old/window.h 2008-03-20 07:01:56.066000000 +0800
+++ columns_ui-sdk/window.h 2010-01-10 10:07:04.797028900 +0800
@@ -398,7 +398,7 @@
  class window_factory : public service_factory_base
  {
  public:
- window_factory() : service_factory_base(window::class_guid)
+ window_factory() : service_factory_base(window::class_guid, service_factory_traits<window>::factory_list())
  {
  }
 

Errors when compiling WSH Panel Mod

Reply #2
Still no luck. I get less errors now (33 errors, 50 warnings), but I still can't compile. The WTL package contained some of the headers (atlapp.h, atlcrack.h...) but some of them were missing, so the compiler used the ones from "Microsoft Platform SDK for Windows Server 2003 R2" which again produce errors:

Code: [Select]
Compiling...
stdafx.cpp
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlconv.h(460) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlconv.h(461) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(513) : warning C4995: '_vsnprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(513) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(520) : warning C4995: 'lstrcpyA': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(537) : warning C4995: '_vsnprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(537) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(544) : warning C4995: 'lstrcpyA': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(561) : warning C4995: '_vsnwprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(561) : warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\wchar.h(719) : see declaration of '_vsnwprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(584) : warning C4995: '_vsnwprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(584) : warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\wchar.h(719) : see declaration of '_vsnwprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6262) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6262) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6866) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6866) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6901) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlbase.h(6901) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(698) : warning C4995: 'lstrcpyA': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(710) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(794) : warning C4995: 'lstrcatA': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(806) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(851) : warning C4995: '_vstprintf': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(851) : warning C4995: 'vswprintf': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(851) : warning C4996: 'vswprintf': swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\swprintf.inl(97) : see declaration of 'vswprintf'
c:\wtl80\include\atlapp.h(861) : warning C4995: 'wvsprintf': name was marked as #pragma deprecated
c:\wtl80\include\atlapp.h(861) : warning C4995: 'wvsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(65) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(79) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(155) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(155) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(168) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(168) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1383) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1383) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1414) : warning C4995: 'wsprintf': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1414) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1753) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1753) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1753) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1755) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(1757) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2646) : warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2646) : warning C4995: 'lstrcpyW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2647) : warning C4995: 'lstrcat': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2647) : warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2979) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(2979) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3003) : warning C4995: 'wsprintfA': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3058) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3058) : error C2228: left of '.GetModuleInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlwin.h(3082) : warning C4995: 'wsprintfW': name was marked as #pragma deprecated
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3242) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3242) : error C2228: left of '.Lock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3244) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3244) : error C2228: left of '.Unlock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3366) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3366) : error C2228: left of '.CreateInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3373) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3373) : error C2228: left of '.Lock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3375) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3375) : error C2228: left of '.Unlock' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3641) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3641) : error C2228: left of '.m_csTypeInfoHolder' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3658) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3658) : error C2228: left of '.AddTermFunc' must have class/struct/union
        type is ''unknown-type''
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3667) : error C2065: '_Module' : undeclared identifier
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atlcom.h(3667) : error C2228: left of '.m_csTypeInfoHolder' must have class/struct/union
        type is ''unknown-type''
TmSchema.h is obsolete. Please include vssym32.h instead.
c:\wtl80\include\atlmisc.h(3808) : error C2065: '_Module' : undeclared identifier
c:\wtl80\include\atlmisc.h(3808) : error C2228: left of '.GetResourceInstance' must have class/struct/union
        type is ''unknown-type''
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(49) : warning C4995: 'gets': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(53) : warning C4995: 'sprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(56) : warning C4995: 'vsprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstring(22) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstring(23) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(36) : warning C4995: 'swprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(37) : warning C4995: 'vswprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(39) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(41) : warning C4995: 'wcscpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(374) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(376) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(1070) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(1072) : warning C4995: 'wcscpy': name was marked as #pragma deprecated

Errors when compiling WSH Panel Mod

Reply #3
How about trying to add:
Code: [Select]
extern CAppModule _Module;

in stdafx.h?

Code: [Select]
...
// ATL/WTL
#define _WTL_USE_CSTRING
#include <atlbase.h>
#include <atlapp.h>

extern CAppModule _Module;

#include <atlwin.h>
#include <atlframe.h>
...

Errors when compiling WSH Panel Mod

Reply #4
Yes. That seemed to fix it. But now I get 213 errors about 'IsMsgHandled' and 'SetMsgHandled'... What's wrong now?

Code: [Select]
Compiling...
stdafx.cpp
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(513) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(537) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(561) : warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\wchar.h(719) : see declaration of '_vsnwprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(584) : warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\wchar.h(719) : see declaration of '_vsnwprintf'
c:\wtl80\include\atlapp.h(851) : warning C4996: 'vswprintf': swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\swprintf.inl(97) : see declaration of 'vswprintf'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlwin.h(2912) : warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\wchar.h(1025) : see declaration of 'wcsncpy'
TmSchema.h is obsolete. Please include vssym32.h instead.
Compiling...
config.cpp
foo_uie_wsh_panel_mod.cpp
global_cfg.cpp
host.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(44) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(44) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(45) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(45) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(47) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(47) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(48) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(48) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(49) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(49) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(50) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(50) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(51) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(51) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(52) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(52) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(53) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(53) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(54) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(54) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(38) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(38) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(39) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(39) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(40) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(40) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(41) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(41) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(42) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(42) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(43) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(43) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(44) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(44) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(45) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(45) : error C3861: 'IsMsgHandled': identifier not found
panel_notifier.cpp
script_interface_impl.cpp
script_preprocessor.cpp
ui_conf.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(44) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(44) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(45) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(45) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(47) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(47) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(48) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(48) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(49) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(49) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(50) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(50) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(51) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(51) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(52) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(52) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(53) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(53) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(54) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(54) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(15) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(15) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(16) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(16) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(27) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(27) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(28) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(28) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(29) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(29) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(30) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(30) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(31) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(31) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(32) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(32) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(30) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(30) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(31) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(31) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(32) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(32) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(33) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(33) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(34) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(34) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(35) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(35) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(36) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(36) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(37) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(37) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.cpp(240) : error C3861: 'SetMsgHandled': identifier not found
ui_find.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(27) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(27) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(28) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(28) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(29) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(29) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(30) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(30) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(31) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(31) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(32) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_find.h(32) : error C3861: 'IsMsgHandled': identifier not found
ui_goto.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(15) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(15) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(16) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_goto.h(16) : error C3861: 'IsMsgHandled': identifier not found
ui_name_value_edit.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(26) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(26) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(27) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(27) : error C3861: 'IsMsgHandled': identifier not found
ui_pref.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(32) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(32) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(33) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(33) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(34) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(34) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(35) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(35) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(36) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(36) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(37) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_pref.h(37) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(26) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(26) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(27) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(27) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(44) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(44) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(45) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(45) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(47) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(47) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(48) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(48) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(49) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(49) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(50) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(50) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(51) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(51) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(52) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(52) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(53) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(53) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(54) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_conf.h(54) : error C3861: 'IsMsgHandled': identifier not found
ui_property.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(26) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(26) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(27) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_name_value_edit.h(27) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(38) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(38) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(39) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(39) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(40) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(40) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(41) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(41) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(42) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(42) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(43) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(43) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(44) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(44) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(45) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_property.h(45) : error C3861: 'IsMsgHandled': identifier not found
ui_replace.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(30) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(30) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(31) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(31) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(32) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(32) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(33) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(33) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(34) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(34) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(35) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(35) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(36) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(36) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(37) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\ui_replace.h(37) : error C3861: 'IsMsgHandled': identifier not found
boxblurfilter.cpp
helpers.cpp
popup_msg.cpp
simple_thread.cpp
editorctrl.cpp
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(83) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(84) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(85) : error C3861: 'IsMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'SetMsgHandled': identifier not found
d:\c++ foobar\foo-wsh-panel-mod\foo_uie_wsh_panel_mod\editorctrl.h(86) : error C3861: 'IsMsgHandled': identifier not found
scintilla_prop_sets.cpp
Generating Code...


Errors when compiling WSH Panel Mod

Reply #6
Do you mean to change it in all files? For instance:

Code: [Select]
	// Message map and handlers
BEGIN_MSG_MAP(CScriptEditorCtrl)
MESSAGE_HANDLER(WM_KEYDOWN, OnKeyDown)
REFLECTED_NOTIFY_CODE_HANDLER_EX(SCN_UPDATEUI, OnUpdateUI)
REFLECTED_NOTIFY_CODE_HANDLER_EX(SCN_CHARADDED, OnCharAdded)
REFLECTED_NOTIFY_CODE_HANDLER_EX(SCN_ZOOM, OnZoom)
REFLECTED_COMMAND_CODE_HANDLER_EX(SCEN_CHANGE, OnChange)
END_MSG_MAP()

into this:

Code: [Select]
	// Message map and handlers
BEGIN_MSG_MAP_EX(CScriptEditorCtrl)
MESSAGE_HANDLER(WM_KEYDOWN, OnKeyDown)
REFLECTED_NOTIFY_CODE_HANDLER_EX(SCN_UPDATEUI, OnUpdateUI)
REFLECTED_NOTIFY_CODE_HANDLER_EX(SCN_CHARADDED, OnCharAdded)
REFLECTED_NOTIFY_CODE_HANDLER_EX(SCN_ZOOM, OnZoom)
REFLECTED_COMMAND_CODE_HANDLER_EX(SCEN_CHANGE, OnChange)
END_MSG_MAP()

If yes, then it didn't help. I still get the same errors.

Errors when compiling WSH Panel Mod

Reply #7
How is macro BEGIN_MSG_MAP_EX defined in atlcrack.h?
It should have included IsMsgHandled() and SetMsgHandled().

Errors when compiling WSH Panel Mod

Reply #8
atlcrack.h

Code: [Select]
#define BEGIN_MSG_MAP_EX(theClass) \
public: \
BOOL m_bMsgHandled; \
/* "handled" management for cracked handlers */ \
BOOL IsMsgHandled() const \
{ \
return m_bMsgHandled; \
} \
void SetMsgHandled(BOOL bHandled) \
{ \
m_bMsgHandled = bHandled; \
} \
BOOL ProcessWindowMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT& lResult, DWORD dwMsgMapID = 0) \
{ \
BOOL bOldMsgHandled = m_bMsgHandled; \
BOOL bRet = _ProcessWindowMessage(hWnd, uMsg, wParam, lParam, lResult, dwMsgMapID); \
m_bMsgHandled = bOldMsgHandled; \
return bRet; \
} \
BOOL _ProcessWindowMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT& lResult, DWORD dwMsgMapID) \
{ \
BOOL bHandled = TRUE; \
hWnd; \
uMsg; \
wParam; \
lParam; \
lResult; \
bHandled; \
switch(dwMsgMapID) \
{ \
case 0:

 

Errors when compiling WSH Panel Mod

Reply #9
So it have declared IsMsgHandled() and SetMsgHandled(), it should work, I've no idea now

Errors when compiling WSH Panel Mod

Reply #10
Okey, it turned out that I had to update the ATL library (thanks for the link; I didn't notice it at first). But now I get some other error.

Code: [Select]
Compiling...
stdafx.cpp
c:\program files\microsoft sdks\windows\v6.1\include\intsafe.h(121) : warning C4005: 'INTSAFE_E_ARITHMETIC_OVERFLOW' : macro redefinition
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\comutil.h(65) : see previous definition of 'INTSAFE_E_ARITHMETIC_OVERFLOW'
TmSchema.h is obsolete. Please include vssym32.h instead.
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(49) : warning C4995: 'gets': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(53) : warning C4995: 'sprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstdio(56) : warning C4995: 'vsprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstring(22) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cstring(23) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(36) : warning C4995: 'swprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(37) : warning C4995: 'vswprintf': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(39) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\cwchar(41) : warning C4995: 'wcscpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(374) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(376) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(1070) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files (x86)\microsoft visual studio 9.0\vc\include\intrin.h(1072) : warning C4995: 'wcscpy': name was marked as #pragma deprecated
Compiling...
config.cpp
foo_uie_wsh_panel_mod.cpp
global_cfg.cpp
host.cpp
panel_notifier.cpp
script_interface_impl.cpp
script_preprocessor.cpp
ui_conf.cpp
ui_find.cpp
ui_goto.cpp
ui_name_value_edit.cpp
ui_pref.cpp
ui_property.cpp
ui_replace.cpp
boxblurfilter.cpp
helpers.cpp
popup_msg.cpp
simple_thread.cpp
editorctrl.cpp
scintilla_prop_sets.cpp
Generating Code...
Compiling resources...
Microsoft ® Windows ® Resource Compiler Version 6.0.5724.0
Copyright © Microsoft Corporation.  All rights reserved.
Compiling manifest to resources...
Microsoft ® Windows ® Resource Compiler Version 6.0.5724.0
Copyright © Microsoft Corporation.  All rights reserved.
Linking...
  Creating library D:\C++ Foobar\foo-wsh-panel-mod\Debug\foo_uie_wsh_panel_mod.lib and object D:\C++ Foobar\foo-wsh-panel-mod\Debug\foo_uie_wsh_panel_mod.exp
Microsoft ® 32b/64b MIDL Compiler Version 7.00.0500
Copyright © Microsoft Corporation 1991-2006. All rights reserved.
Processing .\vc90.idl
vc90.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\docobj.idl
docobj.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\basetsd.h
basetsd.h
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\guiddef.h
guiddef.h
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\msxml.idl
msxml.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\oaidl.acf
oaidl.acf
Processing C:\Program Files\Microsoft SDKs\Windows\v6.1\\include\ocidl.acf
ocidl.acf
editorctrl.obj : error LNK2001: unresolved external symbol "void * __stdcall ATL::__AllocStdCallThunk(void)" (?__AllocStdCallThunk@ATL@@YGPAXXZ)
host.obj : error LNK2019: unresolved external symbol "void * __stdcall ATL::__AllocStdCallThunk(void)" (?__AllocStdCallThunk@ATL@@YGPAXXZ) referenced in function "public: static void * __cdecl ATL::_stdcallthunk::operator new(unsigned int)" (??2_stdcallthunk@ATL@@SAPAXI@Z)
ui_conf.obj : error LNK2001: unresolved external symbol "void * __stdcall ATL::__AllocStdCallThunk(void)" (?__AllocStdCallThunk@ATL@@YGPAXXZ)
ui_pref.obj : error LNK2001: unresolved external symbol "void * __stdcall ATL::__AllocStdCallThunk(void)" (?__AllocStdCallThunk@ATL@@YGPAXXZ)
ui_property.obj : error LNK2001: unresolved external symbol "void * __stdcall ATL::__AllocStdCallThunk(void)" (?__AllocStdCallThunk@ATL@@YGPAXXZ)
host.obj : error LNK2019: unresolved external symbol "void __stdcall ATL::__FreeStdCallThunk(void *)" (?__FreeStdCallThunk@ATL@@YGXPAX@Z) referenced in function "public: static void __cdecl ATL::_stdcallthunk::operator delete(void *)" (??3_stdcallthunk@ATL@@SAXPAX@Z)
ui_conf.obj : error LNK2001: unresolved external symbol "void __stdcall ATL::__FreeStdCallThunk(void *)" (?__FreeStdCallThunk@ATL@@YGXPAX@Z)
ui_pref.obj : error LNK2001: unresolved external symbol "void __stdcall ATL::__FreeStdCallThunk(void *)" (?__FreeStdCallThunk@ATL@@YGXPAX@Z)
ui_property.obj : error LNK2001: unresolved external symbol "void __stdcall ATL::__FreeStdCallThunk(void *)" (?__FreeStdCallThunk@ATL@@YGXPAX@Z)
D:\C++ Foobar\foo-wsh-panel-mod\Debug\foo_uie_wsh_panel_mod.dll : fatal error LNK1120: 2 unresolved externals

What does it mean?


 
SimplePortal 1.0.0 RC1 © 2008-2019