Re: [aswin32] Ok with perl 5.8.3 on win2000, nok with perl 5.8.7 on winXP

2006-02-15 Thread DonKiShoot
Thank you all, it's ok now. I put the code out of the subroutine as suggest me Rob : sub create_icoMenu { $icoMenu = Win32::GUI::MakeMenu("TrayIconMenu" => "TrayIconMenu", " > &Config" => "Config", " > &About" => "About", " > E&xit" => "Exit" ); return 1; } sub icoTrayIcon_RightClick {

Re: Ok with perl 5.8.3 on win2000, nok with perl 5.8.7 on winXP

2006-02-15 Thread DonKiShoot
- No ... In my first case who works i see in the header of gui.pm : # Win32::GUI - Perl-Win32 Graphical User Interface Extension # 29 Jan 1997 by Aldo Calpini <[EMAIL PROTECTED]> # Version: 0.0.558 (15 Jan 2001) - In my second case i see in the header of gui.pm : # Version: 1.02 (10 July 2005) (b

Re: [aswin32] Ok with perl 5.8.3 on win2000, nok with perl 5.8.7 on winXP

2006-02-14 Thread Robert May
I see that Glenn L just beat me to a reply, but here's my take. DonKiShoot wrote: This piece of code works fine on windows 2000 with perl 5.8.3.809 but not on windows xp with perl 5.8.7.815 and i don't find why. So long as you are using the same version of Win32::GUI in both cases, you should

Ok with perl 5.8.3 on win2000, nok with perl 5.8.7 on winXP

2006-02-14 Thread DonKiShoot
Hello and sorry for my poor english. This piece of code works fine on windows 2000 with perl 5.8.3.809 but not on windows xp with perl 5.8.7.815 and i don't find why. This little code is for having a little menu appear when right click on tray icon. In the first case : when i click on "About" i