Do you know where your variables are? | |
PerlMonks |
Re^3: traymon.pl - Easily add a System Tray icon to an exisiting programby Anonymous Monk |
on Apr 08, 2007 at 19:35 UTC ( [id://608910]=note: print w/replies, xml ) | Need Help?? |
I had the same problem as well - here's how to fix: Change the line reading (in sub start_gui): $win = Win32::GUI::Window->new(); to this: $win = Win32::GUI::Window->new(-name=>'Main',-text=>'Perl'); Basically, it seems that Win32::GUI::Window::new needs the name and text args, otherwise it crashes. Cheers! -josiah
In Section
Code Catacombs
|
|