i already received some hints here on how to generate a
static TCL/TK library, it all worked fine. Also, i can
now link my C program against that static library.
The C program uses TCL/TK as an internal script language
and at the moment just executes an example script that
shows some buttons.
It all works fine when i link my C program against a
When i link it (unchanged) against a static LIB, it starts
up, executes an internal script that shows some buttons,
everything is drawn fine, but the buttons can't be pressed.
The task manager says the program executes fine and i can
close it by hitting the windows "close" button.
But pressing the buttons that were generated from the internal
script does not work.
I don't know what goes wrong here, i haven't got a clue and
i also don't know how to debug this or how to get closer to
I've put the whole example project to this URL:
The example project needs the compiled Tcl and Tk sources
with the static libs at:
It would be so very great if somebody could take a look at it
to see where the problem could be.