in reply to Re: installing Tk for strawberry
in thread installing Tk for strawberry

though it's hard to believe that it could be so ancient as to be pre-5.0 (which is what I think the error is implying)

Ah ... that's *not* what is being implied. The problem probably is that, in tkWinX.c we have:
#ifndef _WIN32_IE #define _WIN32_IE 0x0300 #endif #include <commctrl.h>
Rearranging the order in that file should fix the problem:
#include <commctrl.h> #ifndef _WIN32_IE #define _WIN32_IE 0x0300 #endif
In the latest Tk devel version, they've taken a different approach - which should also fix the problem (as was suggested earlier):
#if !defined( _WIN32_IE) && !defined(__MINGW64_VERSION_MAJOR) #define _WIN32_IE 0x0300 #endif #include <commctrl.h>
Cheers,
Rob

Replies are listed 'Best First'.
Re^3: installing Tk for strawberry
by Anonymous Monk on Apr 07, 2016 at 15:17 UTC
    The crap doesn't work. What do you expect from Windows code written by undisciplined kids? Professional software written by professionals for professional environments works rather more often. You get what you pay for!

      The post you replied to is 6 years old. I'm not 100% clear on what you claim "doesn't work" but I just installed Tk via cpanp on Strawberry Perl v5.20.3 and it worked fine:

      >cpanm Tk --> Working on Tk Fetching http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-804.033.tar.gz +... OK Configuring Tk-804.033 ... OK Building and testing Tk-804.033 ... OK Successfully installed Tk-804.033 1 distribution installed

      I've been installing Tk on Strawberry for many years and don't recall ever running into a problem.