I am a step closer now. The calculator code is working.
My problem seems to be a deeper issue since the window containing the button is based on macromedia flash.
Now looking in a complete different direction sinc I fail to install Wx and its ActiveX and Flash components on the target computer. "Perl stopped working" while installing Wx or Padre via cpan. It fails to install Wx modules.
Tried this on a differnt computer - which i unfortunatly can't use for the task- and there I had no problems installing.
Have no clue yet though what the issue with installing the modules is.
Can't be a module issue since it installs perfectly on an other computer. Most probably enviroment problem. I suspect gcc compiler setting, but not sure.
Tnx for the help and effort putted into answering and trying to let me understand.