Octavian Rasnita wrote:
I have downloaded and tried the experimental Win32::GUI::Coolbar module and
I have tested the included demo program, but it doesn't work. It gives this
error:
Can't find 'BTNS_SHOWTEXT' in package 'Win32::GUI::Coolmenu' used at
Coolbar.pm line 178. at D:/usr/site/lib/Win32/GUI.pm line 450.
Where did you get your binary distribution from? It looks to me like
you have a build that didn't have BTNS_SHOWTEXT defined in the headers
used to build it.
Does the following command-line give the same output?
perl -MWin32::GUI -e "print BTNS_SHOWTEXT"
on my build that prints 64.
You can solve this temporarily by adding
sub BTNS_SHOWTEXT() {64}
near the top of Coolbar.pm - I'd suggest next to the
sub RBBS_USECHEVRON() {512}
line.
Regards,
Rob.