From: Jeremy W. <jez...@ho...> - 2007-12-02 14:31:17
|
All, I'm having an odd problem with using GetOpenFileName - but only when it's c= onverted into an exe with PerlApp.=20 Using the demo example (C:\Perl\site\lib\Win32\GUI\demos\GetOpenFileName.pl= ) I've narrowed it down to the option -explorer =3D> 0 when set to one (wh= ich is the new browsing style [1 is the default option]) the application ju= st exists with no error messages or a crash. I've tried various versions of Perl (5.8.7 813 and 5.8.8 822) and PerlApp (= 6.0.2 and 7.0.0) but I always get the same result. I'm using Win32::GUI 1.5= PPM from the sourceforge site. The exe version of GetOpenFileName runs fin= e under XP - even when built under Vista. I'm kinda struggling so I would be grateful for any suggestions? Could it b= e a Vista security thing? I'll build a version of Win32::GUI and try to tra= ck it down... Cheers, jez. =20 _________________________________________________________________ The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk= |
From: Jeremy W. <jez...@ho...> - 2007-12-03 12:52:16
|
As a follow up: It seems the option --dyndll with perlapp causes the problem - I dont know = why... Cheers, jez. >=20 > All, >=20 > I'm having an odd problem with using GetOpenFileName - but only when it's= converted into an exe with PerlApp.=20 >=20 > Using the demo example (C:\Perl\site\lib\Win32\GUI\demos\GetOpenFileName.= pl) I've narrowed it down to the option -explorer =3D> 0 when set to one (= which is the new browsing style [1 is the default option]) the application = just exists with no error messages or a crash. >=20 > I've tried various versions of Perl (5.8.7 813 and 5.8.8 822) and PerlApp= (6.0.2 and 7.0.0) but I always get the same result. I'm using Win32::GUI 1= .5 PPM from the sourceforge site. The exe version of GetOpenFileName runs f= ine under XP - even when built under Vista. >=20 > I'm kinda struggling so I would be grateful for any suggestions? Could it= be a Vista security thing? I'll build a version of Win32::GUI and try to t= rack it down... >=20 > Cheers, >=20 > jez. >=20 >=20 >=20 >=20 >=20 >=20 > =20 > _________________________________________________________________ > The next generation of MSN Hotmail has arrived - Windows Live Hotmail > http://www.newhotmail.co.uk > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ _________________________________________________________________ Telly addicts unite! http://www.searchgamesbox.com/tvtown.shtml= |
From: Fleming, J. M <joh...@ed...> - 2007-12-03 18:15:30
|
I'm not really sure what the technical name is for icons that show up on the task bar, but I'm not talking about the start button, systray or quick launch just to be clear. =20 I'm kind of at a lose on how to look this up first off, but how could i get a list of all the icons on the taskbar (or whatever they're called) and get the text that is displayed when you hover the mouse over a certain icon. The end result I'm looking for is just the data off a single icon but i'm sure if i could get the whole list i could figure it out from there. This is really just kind of a pet project to see if i can pull some useful data from a ticket tracking system (like the current open ticket number). =20 Thanks for any input. |
From: Jeremy W. <jez...@ho...> - 2007-12-04 12:41:01
|
This looks like a --dyndll option issue with Vista - I have a case were I a= m getting crashes. I have reported the problem to Activestate. Cheers, jez. > Date: Mon, 3 Dec 2007 14:37:44 +0000 > CC: per...@li... > Subject: Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp w= ith Vista > > > Hi, > > Thanks for the reply. For the production build I am using PerlApp 6.0.2 -= but for the testing of this issue I am using PerlApp 7.0.0 build 277058 wh= ich should have the fix that was mentioned in bug 36715. I've also tried tu= rning DEP and messed with other Vista settings and it still fails. > > I've also built Win32::GUI from the code repository. It enters the (win32= API) function GetOpenFileName and just exits, no error message, no crash. = (BTW using the latest version of activestate perl you can just use the norm= al makefile.pl with Mingw as it spots GCC is installed). > > I have also found another function that causes the same problem: GetSaveF= ileName - this is potentially more serious as the work around in using -exp= lorer =3D> 0 doesn't seem to work. > > I have to use the --dyndll option so will do more testing/debugging befor= e reporting the issue to Activestate. > > Cheers, > > jez. > >> Date: Mon, 3 Dec 2007 13:23:33 +0000 >> From: ro...@th... >> To: jez...@ho... >> Subject: Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp = with Vista >> CC: per...@li... >> >> On 03/12/2007, Jeremy White wrote: >>> It seems the option --dyndll with perlapp causes the problem - I dont k= now >>> why... >> >> I've not used perlapp, but might it be related to this bug: >> http://bugs.activestate.com/show_bug.cgi?id=3D36715 >> >> --dyndll causes (some of?) the bundled libraries to be loaded from >> memory, rather than written to a file and loaded from there. From the >> release notes for V7.0 of the PDK >> (http://aspn.activestate.com/ASPN/docs/PDK/7.0/Release.html) it >> appears that there was some interaction between this mechanism and >> DEP. IIRC DEP is on by default for (nearly) all applications under >> Win2003 and Vista, but not under XP. >> >> Are you using a version of the PDK prior to 7.0? If so this might >> explain the difference you see between XP and Vista. >> >> Rob. >> >>>> All, >>>> >>>> I'm having an odd problem with using GetOpenFileName - but only when i= t's >>> converted into an exe with PerlApp. >>>> >>>> Using the demo example >>> (C:\Perl\site\lib\Win32\GUI\demos\GetOpenFileName.pl) I've >>> narrowed it down to the option -explorer =3D> 0 when set to one (which = is the >>> new browsing style [1 is the default option]) the application just exis= ts >>> with no error messages or a crash. >>>> >>>> I've tried various versions of Perl (5.8.7 813 and 5.8.8 822) and Perl= App >>> (6.0.2 and 7.0.0) but I always get the same result. I'm using Win32::GU= I 1.5 >>> PPM from the sourceforge site. The exe version of GetOpenFileName runs = fine >>> under XP - even when built under Vista. >>>> >>>> I'm kinda struggling so I would be grateful for any suggestions? Could= it >>> be a Vista security thing? I'll build a version of Win32::GUI and try t= o >>> track it down... >>>> >>>> Cheers, >>>> >>>> jez. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> _________________________________________________________________ >>>> The next generation of MSN Hotmail has arrived - Windows Live Hotmail >>>> http://www.newhotmail.co.uk >>>> >>> -----------------------------------------------------------------------= -- >>>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>>> from Novell. From the desktop to the data center, Linux is going >>>> mainstream. Let it simplify your IT future. >>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>>> _______________________________________________ >>>> Perl-Win32-GUI-Users mailing list >>>> Per...@li... >>>> >>> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >>>> http://perl-win32-gui.sourceforge.net/ >>> >>> ________________________________ >>> The next generation of MSN Hotmail has arrived - Windows Live Hotmail >>> -----------------------------------------------------------------------= -- >>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> Perl-Win32-GUI-Users mailing list >>> Per...@li... >>> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >>> http://perl-win32-gui.sourceforge.net/ >>> >> >> >> -- >> Please update your address book with my new email address: >> ro...@th... > > _________________________________________________________________ > The next generation of MSN Hotmail has arrived - Windows Live Hotmail > http://www.newhotmail.co.uk > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ _________________________________________________________________ Get free emoticon packs and customisation from Windows Live.=20 http://www.pimpmylive.co.uk= |
From: Robert M. <ro...@th...> - 2007-12-03 13:23:36
|
On 03/12/2007, Jeremy White <jez...@ho...> wrote: > It seems the option --dyndll with perlapp causes the problem - I dont know > why... I've not used perlapp, but might it be related to this bug: http://bugs.activestate.com/show_bug.cgi?id=36715 --dyndll causes (some of?) the bundled libraries to be loaded from memory, rather than written to a file and loaded from there. From the release notes for V7.0 of the PDK (http://aspn.activestate.com/ASPN/docs/PDK/7.0/Release.html) it appears that there was some interaction between this mechanism and DEP. IIRC DEP is on by default for (nearly) all applications under Win2003 and Vista, but not under XP. Are you using a version of the PDK prior to 7.0? If so this might explain the difference you see between XP and Vista. Rob. > > All, > > > > I'm having an odd problem with using GetOpenFileName - but only when it's > converted into an exe with PerlApp. > > > > Using the demo example > (C:\Perl\site\lib\Win32\GUI\demos\GetOpenFileName.pl) I've > narrowed it down to the option -explorer => 0 when set to one (which is the > new browsing style [1 is the default option]) the application just exists > with no error messages or a crash. > > > > I've tried various versions of Perl (5.8.7 813 and 5.8.8 822) and PerlApp > (6.0.2 and 7.0.0) but I always get the same result. I'm using Win32::GUI 1.5 > PPM from the sourceforge site. The exe version of GetOpenFileName runs fine > under XP - even when built under Vista. > > > > I'm kinda struggling so I would be grateful for any suggestions? Could it > be a Vista security thing? I'll build a version of Win32::GUI and try to > track it down... > > > > Cheers, > > > > jez. > > > > > > > > > > > > > > > > > _________________________________________________________________ > > The next generation of MSN Hotmail has arrived - Windows Live Hotmail > > http://www.newhotmail.co.uk > > > ------------------------------------------------------------------------- > > SF.Net email is sponsored by: The Future of Linux Business White Paper > > from Novell. From the desktop to the data center, Linux is going > > mainstream. Let it simplify your IT future. > > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > > _______________________________________________ > > Perl-Win32-GUI-Users mailing list > > Per...@li... > > > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > http://perl-win32-gui.sourceforge.net/ > > ________________________________ > The next generation of MSN Hotmail has arrived - Windows Live Hotmail > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ > -- Please update your address book with my new email address: ro...@th... |
From: Jeremy W. <jez...@ho...> - 2007-12-03 14:37:46
|
Hi, Thanks for the reply. For the production build I am using PerlApp 6.0.2 - b= ut for the testing of this issue I am using PerlApp 7.0.0 build 277058 whic= h should have the fix that was mentioned in bug 36715. I've also tried turn= ing DEP and messed with other Vista settings and it still fails. I've also built Win32::GUI from the code repository. It enters the (win32 A= PI) function GetOpenFileName and just exits, no error message, no crash. (B= TW using the latest version of activestate perl you can just use the normal= makefile.pl with Mingw as it spots GCC is installed).=20 I have also found another function that causes the same problem: GetSaveFil= eName - this is potentially more serious as the work around in using -explo= rer =3D> 0 doesn't seem to work.=20 I have to use the --dyndll option so will do more testing/debugging before= reporting the issue to Activestate. Cheers, jez. > Date: Mon, 3 Dec 2007 13:23:33 +0000 > From: ro...@th... > To: jez...@ho... > Subject: Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp w= ith Vista > CC: per...@li... > > On 03/12/2007, Jeremy White wrote: >> It seems the option --dyndll with perlapp causes the problem - I dont kn= ow >> why... > > I've not used perlapp, but might it be related to this bug: > http://bugs.activestate.com/show_bug.cgi?id=3D36715 > > --dyndll causes (some of?) the bundled libraries to be loaded from > memory, rather than written to a file and loaded from there. From the > release notes for V7.0 of the PDK > (http://aspn.activestate.com/ASPN/docs/PDK/7.0/Release.html) it > appears that there was some interaction between this mechanism and > DEP. IIRC DEP is on by default for (nearly) all applications under > Win2003 and Vista, but not under XP. > > Are you using a version of the PDK prior to 7.0? If so this might > explain the difference you see between XP and Vista. > > Rob. > >>> All, >>> >>> I'm having an odd problem with using GetOpenFileName - but only when it= 's >> converted into an exe with PerlApp. >>> >>> Using the demo example >> (C:\Perl\site\lib\Win32\GUI\demos\GetOpenFileName.pl) I've >> narrowed it down to the option -explorer =3D> 0 when set to one (which i= s the >> new browsing style [1 is the default option]) the application just exist= s >> with no error messages or a crash. >>> >>> I've tried various versions of Perl (5.8.7 813 and 5.8.8 822) and PerlA= pp >> (6.0.2 and 7.0.0) but I always get the same result. I'm using Win32::GUI= 1.5 >> PPM from the sourceforge site. The exe version of GetOpenFileName runs f= ine >> under XP - even when built under Vista. >>> >>> I'm kinda struggling so I would be grateful for any suggestions? Could = it >> be a Vista security thing? I'll build a version of Win32::GUI and try to >> track it down... >>> >>> Cheers, >>> >>> jez. >>> >>> >>> >>> >>> >>> >>> >>> >> _________________________________________________________________ >>> The next generation of MSN Hotmail has arrived - Windows Live Hotmail >>> http://www.newhotmail.co.uk >>> >> ------------------------------------------------------------------------= - >>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> Perl-Win32-GUI-Users mailing list >>> Per...@li... >>> >> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >>> http://perl-win32-gui.sourceforge.net/ >> >> ________________________________ >> The next generation of MSN Hotmail has arrived - Windows Live Hotmail >> ------------------------------------------------------------------------= - >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> Perl-Win32-GUI-Users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >> http://perl-win32-gui.sourceforge.net/ >> > > > -- > Please update your address book with my new email address: > ro...@th... _________________________________________________________________ The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk= |
From: Jan D. <ja...@ac...> - 2007-12-05 02:05:22
|
On Tue, 04 Dec 2007, Jeremy White wrote: > This looks like a --dyndll option issue with Vista - I have a case > were I am getting crashes. I have reported the problem to Activestate. It is indeed a problem with the --dyndll code. That code hooks and reimplements most parts of the Windows loader and therefore has its own implementations of LoadLibraryEx() etc. Vista has added additional flags for LoadLibraryEx() that are not being handled correctly, causing an access violation. This will be fixed in the PDK 7.0.1 update whenever it is ready (should be within a month or two). Cheers, -Jan |
From: Jeremy W. <jez...@ho...> - 2007-12-05 08:33:40
|
Hi, Thanks Jan - if you need me to do any testing to help speed this along, jus= t drop me a mail. Cheers, jez. > Subject: RE: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp w= ith Vista > Date: Tue, 4 Dec 2007 18:02:24 -0800 > > On Tue, 04 Dec 2007, Jeremy White wrote: >> This looks like a --dyndll option issue with Vista - I have a case >> were I am getting crashes. I have reported the problem to Activestate. > > It is indeed a problem with the --dyndll code. That code hooks and > reimplements most parts of the Windows loader and therefore has its > own implementations of LoadLibraryEx() etc. Vista has added additional > flags for LoadLibraryEx() that are not being handled correctly, > causing an access violation. > > This will be fixed in the PDK 7.0.1 update whenever it is ready (should > be within a month or two). > > Cheers, > -Jan > _________________________________________________________________ Get free emoticon packs and customisation from Windows Live.=20 http://www.pimpmylive.co.uk= |