Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: traymon.pl - Easily add a System Tray icon to an exisiting program

by Anonymous Monk
on Apr 08, 2007 at 19:35 UTC ( [id://608910]=note: print w/replies, xml ) Need Help??


in reply to Re^2: traymon.pl - Easily add a System Tray icon to an exisiting program
in thread traymon.pl - Easily add a System Tray icon to an exisiting program

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://608910]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-24 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found