Re: Build errors with VS2012/VC++11

Jim Barry <[email protected]> Tue, 12 Feb 2013 11:42:40 +0000
Newsgroups gmane.comp.windows.wtl
Message-ID <CAHtY=NdYe=4FfKN-7Srdf4R==A3iZSD2ZN4bQbzMyaLD6V5Zig@mail.gmail.com>
Apologies for the HTML post - I forgot that Yahoo doesn't allow that.
Anyway, I just grabbed the latest from SVN and discovered that Nenad
already worked around this problem by inserting extra "_ATL_VER >=
0x0B00" conditions in atlapp.h. D'oh! Well, I still prefer my
solution, as I don't think it's appropriate for WTL to be defining
functions in ATL's namespace. However, as the specific issue has been
addressed, I will leave things as they are.

By the way, the SF project pages indicate that WTL80 is the latest
version - maybe somebody could update that.

- Jim

On 11 February 2013 19:19, Jim Barry <[email protected]> wrote:
>
> Hi folks,
>
> As per bugs 696790 and 731919 on Microsoft Connect, ATL 11 ceases to
> define AtlGetDllVersion, AtlGetCommCtrlVersion, and AtlGetShellVersion,
> preventing WTL apps from compiling with VS2012.
>
> I propose to fix the problem by breaking this dependency on undocumented
> ATL functions and adding the equivalent functions WtlGetDllVersion,
> WtlGetCommCtrlVersion, and WtlGetShellVersion to atlapp.h. Any objections?
>
> Cheers,
>
> - Jim


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/