[perl-win32-gui-users] Compiled Win32::GUI scripts?
I would be grateful for any information anyone has about successful complications of Win32::GUI scripts. Thanks in anticipation Lee
RE: [SPAM] - [perl-win32-gui-users] Compiled Win32::GUI scripts? - Email found in subject
I have compiled many Win32::GUI scripts using perl2exe from http://www.indigostar.com. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee Goddard Sent: Wednesday, June 01, 2005 5:14 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [SPAM] - [perl-win32-gui-users] Compiled Win32::GUI scripts? - Email found in subject I would be grateful for any information anyone has about successful complications of Win32::GUI scripts. Thanks in anticipation Lee --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users This email, and any files or previous email messages included with it, may contain confidential and/or privileged material. If you are not the intended recipient please contact the sender and delete all copies.
RE: [perl-win32-gui-users] Compiled Win32::GUI scripts?
I haven't tried the latest version of perl2exe (last time I used it was about 2 years ago) but at that time it didn't support icon's so on windows you always got this weird looking icon for all your exe's you created with it. I also found that while it worked OK for win32::gui it would choke on a lot of others. I've used PerlApp pretty happily for 2 years now. The only problem I have with perlapp is that there appears to be a problem where the text or bitmap associated with a button does not show up as it should. Pushing the button will get it to appear though. I've not yet been able to track the problem down. It never occures on the machine you compiled on with PerlApp nor does it occure when you just run the perl app as c: perl PerlApp.pl. It only occures on a machine other than the one you compiled the PerlApp on. Other than that one oddity with PerlApp, I'd take it over perl2exe. Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy White Sent: Wednesday, June 01, 2005 7:28 AM To: [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl-win32-gui-users] Compiled Win32::GUI scripts? PerlApp, Perl2exe and PAR all work. You'll also be able to embed objects into the exe (such as bitmaps,cursors and stringtables) just like any win32 application. Cheers, jez. From: Lee Goddard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Compiled Win32::GUI scripts? Date: Wed, 01 Jun 2005 12:14:01 +0100 I would be grateful for any information anyone has about successful complications of Win32::GUI scripts. Thanks in anticipation Lee --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
RE: [SPAM] - RE: [perl-win32-gui-users] Compiled Win32::GUI scripts? - Email found in subject
I have been using perl2exe for several years. The latest version on perl2exe supports icons, filestamps, and more. I have used it to compile a plethera of scripts ranging from win32 gui apps to dos apps and have had great success. In my opinion, it rocks over the other choices. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Dance Sent: Wednesday, June 01, 2005 10:33 AM To: Jeremy White; [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net Subject: [SPAM] - RE: [perl-win32-gui-users] Compiled Win32::GUI scripts? - Email found in subject I haven't tried the latest version of perl2exe (last time I used it was about 2 years ago) but at that time it didn't support icon's so on windows you always got this weird looking icon for all your exe's you created with it. I also found that while it worked OK for win32::gui it would choke on a lot of others. I've used PerlApp pretty happily for 2 years now. The only problem I have with perlapp is that there appears to be a problem where the text or bitmap associated with a button does not show up as it should. Pushing the button will get it to appear though. I've not yet been able to track the problem down. It never occures on the machine you compiled on with PerlApp nor does it occure when you just run the perl app as c: perl PerlApp.pl. It only occures on a machine other than the one you compiled the PerlApp on. Other than that one oddity with PerlApp, I'd take it over perl2exe. Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy White Sent: Wednesday, June 01, 2005 7:28 AM To: [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl-win32-gui-users] Compiled Win32::GUI scripts? PerlApp, Perl2exe and PAR all work. You'll also be able to embed objects into the exe (such as bitmaps,cursors and stringtables) just like any win32 application. Cheers, jez. From: Lee Goddard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Compiled Win32::GUI scripts? Date: Wed, 01 Jun 2005 12:14:01 +0100 I would be grateful for any information anyone has about successful complications of Win32::GUI scripts. Thanks in anticipation Lee --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users This email, and any files or previous email messages included with it, may contain confidential and/or privileged material. If you are not the intended recipient please contact the sender and delete all copies.
RE: [perl-win32-gui-users] Compiled Win32::GUI scripts?
Lee, I have a simple solution for you: use niPerl: http://www.numeninest.com/Perl/ After installing niPerl you simply right-click on a .pl file in your Explorer window and select Convert to Exe... and magically your single exe file appears in the same directory. No external compiler, make utility, or convoluted command lines are needed. I use niPerl to edit/build my Win32::GUI apps into stand-alone exe's which run fine on any other Win32 machine. The resulting exe file is bloated (approx 3MB) but to have all the goodness of perl built into it is worth it. niPerl is a full Win32 build of perl 5.6 including most common CPAN modules and Win32 modules. niPerl allows you to execute a .pl file just by double-clicking on it. niPerl also includes perl documentation and the very slick SciTE editor for editing perl scripts (you can also right-click edit .pl and .pm files). Install is simple, just like installing any other Windows app. I love it. I've also scripted Win32::GUI apps under Cygwin and tried perlcc for making exe's... but did not have much success producing stable executables. Kurt From: Lee Goddard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Compiled Win32::GUI scripts? Date: Wed, 01 Jun 2005 12:14:01 +0100 I would be grateful for any information anyone has about successful complications of Win32::GUI scripts. Thanks in anticipation Lee --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
Re: [perl-win32-gui-users] Internet Exlorer like tool and menu bars (Coolbar.pm)
Aldo Calpini wrote: Jez White wrote: The coolbar basically inherits from the rebar - various changes were added by Rob so that menus can be added to a band within the rebar:) cool then :-) See more information on what I've implemented at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/faq/iemenubar.asp As you can't put a menubar in a Rebar you have to simulate a menu using a toolbar, with buttons for each menu selection, and drop-down menus from each button. You then have to handle all the keyboard/mouse navigation, and handle moving menus into a drop-down from the rebar chevron (which is displayed when the rebar becomes too small to display all the buttons). Coolbar.pm wraps all this functionality into a simple to use API that takes a standard Win32::GUI menu definition (as you would pass to MakeMenu()). I intend to add capabilities for standard toolbars and chevrons to the package. See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/faq/ietoolbar.asp Regards, Rob.
RE: [perl-win32-gui-users] no alarm() in Win32, any work-arounds?
I'm using Windows XP Pro SP2 and Windows XP Home SP2 and results are different: the $ua-get( 'http://deadmachine/' ) method waits and waits until some other timeout (operating system default?) of around 20 seconds before giving up. The $ua-timeout(2) setting is ignored. Running the same code under Cygwin works fine but that doesn't do much good outside Cygwin. Observations of other perl features not working in Win32 : Windows XP: - fork() doesn't work, try using Win32::Process or Win32::Job for similar feature - alarm() doesn't work, trying using Win32::Process w/ Wait(), or Win32::Job() with a time counter in watch() function, or Win32::GUI::Timer although none of these is quite as detached and asynchronous as alarm() - IO::Socket::INET { Blocking = 0 } (asynschronous network IO) doesn't work, by default all network IO in Win32 is blocking (synchronous) meaning a listening socket will hold up the entire application until input is received and connection closed or the socket timeout occures. Oddly enough IO::Socket::INET { Timeout = whatever } is working in Windows XP and the socket goes away in the defined amount of timeout... somehow that timeout works but other timeouts such as LWP::UserAgent's don't. Thanks, Kurt From: Brian Millham [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl-win32-gui-users] no alarm() in Win32, any work-arounds? Date: Tue, 31 May 2005 23:25:34 -0400 I've used LWP::UserAgent on W2K Pro and Advanced Server, and the timeout seems to work fine for me. I've also had success using alarm, but I was only testing to see if it worked, not trying it as a sanity timer (which is what a timeout would be). my $uagent = LWP::UserAgent-new; $uagent-timeout(2); my $response = $uagent-get ('http://192.168.0.1/default.html'); if (!$response-is_success) { print uagent error: . $response-status_line . \n; return; } I hope this helps! Brian Millham This message traveled at least 44,000 miles to reach you! Creator of the DW6000 Monitor http://www.millham.net/dw6000 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kurt G Sent: Tuesday, May 31, 2005 1:07 PM To: [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] no alarm() in Win32, any work-arounds? I'm working on a simple network monitor that periodically checks HTTP service on a list of machines. I'm using LWP::UserAgent which offers a timeout setting but timeout is ignored in Win32, so attempting a connection to dead machine makes your program wait (in blocking mode, no less, seems non-blocking IO is not an option either) for up to a minute. I've tried Win32::PingICMP to test the machine for upness before attempting an HTTP connection but ICMP is blocked on some the machines being tested, and also does not help if the machine is up but HTTP server is down. Thanks, Kurt What where you planning on using the alarm function for? I can think of a potential work around, but it would depend on what you were planning:) Cheers, jez. --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users --- avast! Antivirus: Inbound message clean. Virus Database (VPS): 0522-4, 05/31/2005 Tested on: 5/31/2005 6:52:20 PM avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0522-5, 05/31/2005 Tested on: 5/31/2005 11:25:34 PM avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users