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 which should have the fix that was mentioned in bug 36715. I've also tried turning 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 normal makefile.pl with Mingw as it spots GCC is installed). I have also found another function that causes the same problem: GetSaveFileName - this is potentially more serious as the work around in using -explorer => 0 doesn't seem to work. 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: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with > Vista > CC: perl-win32-gui-users@lists.sourceforge.net > > On 03/12/2007, Jeremy White 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 >>> Perl-Win32-GUI-Users@lists.sourceforge.net >>> >> 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 >> Perl-Win32-GUI-Users@lists.sourceforge.net >> 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: > [EMAIL PROTECTED] _________________________________________________________________ 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 Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/