From: Peter W. <pe...@ds...> - 2007-04-27 23:10:40
|
Hi Everyone I use wx but am just a simple part time developer and don't actually know very much about it, I got it working sometime ago and use Activestate's perlapp to build a standalone excutable and it has worked fine for me for some time. Now I want to use a wxgrid and its causing it to crash, I don't know why think its something to do with the grid.dll. I am guessing a good start to getting round this will be to move up versions but don't really understand which stable version of wxperl goes with which stable version of wxwidgets and what suits my version of perl which for other reasons I need to stay at for the moment. I am currently running perl -e"use Wx; print Wx::wxVERSION . qq(\n);" 2.006002 perl -v This is perl, v5.8.2 built for MSWin32-x86-multi-thread I have a copy of MSVC 2003. And have a mix of files (probably at the wrong versions) in C:\Perl\site\lib\auto\Wx as I tried load of different things before I got it working. See end of mail. So can anyone help? I just want to be at the latest most stable and appropriate version of wxPerl and wxWidgets? Many thanks in advance. Peter C:\Perl\site\lib\auto\Wx>ls -Rl total 8217 drwxrwxrwx 1 user group 0 Apr 13 2006 Calendar drwxrwxrwx 1 user group 0 Apr 13 2006 DND drwxrwxrwx 1 user group 0 Apr 13 2006 DateTime drwxrwxrwx 1 user group 0 Apr 13 2006 DocView drwxrwxrwx 1 user group 0 Apr 13 2006 FS drwxrwxrwx 1 user group 0 Apr 13 2006 Grid drwxrwxrwx 1 user group 0 Apr 13 2006 Help drwxrwxrwx 1 user group 0 Apr 13 2006 Html drwxrwxrwx 1 user group 0 Apr 13 2006 MDI drwxrwxrwx 1 user group 0 Apr 13 2006 Print drwxrwxrwx 1 user group 0 Apr 13 2006 STC drwxrwxrwx 1 user group 0 Apr 13 2006 Socket -r--r--r-- 1 user group 0 Nov 20 2005 Wx.bs -r--r--r-- 1 user group 2132480 Nov 20 2005 Wx.dll drwxrwxrwx 1 user group 0 Apr 13 2006 XRC -r--r--r-- 1 user group 6656 Nov 20 2005 mingwm10.dll -r--r--r-- 1 user group 936448 Nov 20 2005 wxbase26u_gcc_custom.dll -r--r--r-- 1 user group 115712 Nov 20 2005 wxbase26u_net_gcc_custom.dll -r--r--r-- 1 user group 157184 Nov 20 2005 wxbase26u_xml_gcc_custom.dll -r--r--r-- 1 user group 506880 Nov 20 2005 wxmsw26u_adv_gcc_custom.dll -r--r--r-- 1 user group 2736640 Nov 20 2005 wxmsw26u_core_gcc_custom.dll -r--r--r-- 1 user group 54784 Nov 20 2005 wxmsw26u_gl_gcc_custom.dll -r--r--r-- 1 user group 489984 Nov 20 2005 wxmsw26u_html_gcc_custom.dll -r--r--r-- 1 user group 107520 Nov 20 2005 wxmsw26u_media_gcc_custom.dll -r--r--r-- 1 user group 629760 Nov 20 2005 wxmsw26u_stc_gcc_custom.dll -r--r--r-- 1 user group 536576 Nov 20 2005 wxmsw26u_xrc_gcc_custom.dll Calendar=: total 82 -r--r--r-- 1 user group 0 Nov 20 2005 Calendar.bs -rw-rw-rw- 1 user group 83456 Nov 20 2005 Calendar.dll DND=: total 82 -r--r--r-- 1 user group 0 Nov 20 2005 DND.bs -rw-rw-rw- 1 user group 83968 Nov 20 2005 DND.dll DateTime=: total 47 -r--r--r-- 1 user group 0 Nov 20 2005 DateTime.bs -rw-rw-rw- 1 user group 48128 Nov 20 2005 DateTime.dll DocView=: total 206 -r--r--r-- 1 user group 0 Nov 20 2005 DocView.bs -rw-rw-rw- 1 user group 210432 Nov 20 2005 DocView.dll FS=: total 53 -r--r--r-- 1 user group 0 Nov 20 2005 FS.bs -rw-rw-rw- 1 user group 54272 Nov 20 2005 FS.dll Grid=: total 262 -r--r--r-- 1 user group 0 Nov 20 2005 Grid.bs -rw-rw-rw- 1 user group 267776 Nov 20 2005 Grid.dll Help=: total 49 -r--r--r-- 1 user group 0 Nov 20 2005 Help.bs -rw-rw-rw- 1 user group 49664 Nov 20 2005 Help.dll Html=: total 179 -r--r--r-- 1 user group 0 Nov 20 2005 Html.bs -rw-rw-rw- 1 user group 183296 Nov 20 2005 Html.dll MDI=: total 55 -r--r--r-- 1 user group 0 Nov 20 2005 MDI.bs -rw-rw-rw- 1 user group 55808 Nov 20 2005 MDI.dll Print=: total 149 -r--r--r-- 1 user group 0 Nov 20 2005 Print.bs -rw-rw-rw- 1 user group 152064 Nov 20 2005 Print.dll STC=: total 286 -r--r--r-- 1 user group 0 Nov 20 2005 STC.bs -rw-rw-rw- 1 user group 292352 Nov 20 2005 STC.dll Socket=: total 73 -r--r--r-- 1 user group 0 Nov 20 2005 Socket.bs -rw-rw-rw- 1 user group 74752 Nov 20 2005 Socket.dll XRC=: total 127 -r--r--r-- 1 user group 0 Nov 20 2005 XRC.bs -rw-rw-rw- 1 user group 130048 Nov 20 2005 XRC.dll |
From: Mark D. <mar...@zn...> - 2007-04-28 09:59:31
|
Hi Peter, The crash you see when trying to package the executable is a combination of the way wxWidgets DLLs are loaded and the way the PDK determines and packs dependencies. It only becomes apparent when you use certain modules outside the wxWidgets core (grid, html, sockets etc) For your version of Wx ( < 0.49 ) the CPAN module Wx::Package::Win32 should solve your problems. If you upgrade to the latest Wx / wxWidgets, it does not remove the problems but there is a different solution in the form of module Wx::Perl::Packager If your current Wx /wxWidgets install meets your requirements then I see no reason to change. If you want to try out the latest release, there are PPMs at http://www.wxperl.co.uk/wxppm/ Regards Mark Peter Wilson wrote: > Hi Everyone > > > > I use wx but am just a simple part time developer and don't actually know > very much about it, I got it working sometime ago and use Activestate's > perlapp to build a standalone excutable and it has worked fine for me for > some time. Now I want to use a wxgrid and its causing it to crash, I don't > know why think its something to do with the grid.dll. > > > > I am guessing a good start to getting round this will be to move up versions > but don't really understand which stable version of wxperl goes with which > stable version of wxwidgets and what suits my version of perl which for > other reasons I need to stay at for the moment. > > > > I am currently running > > > > perl -e"use Wx; print Wx::wxVERSION . qq(\n);" > > 2.006002 > > > > perl -v > > This is perl, v5.8.2 built for MSWin32-x86-multi-thread > > > > I have a copy of MSVC 2003. > > > > And have a mix of files (probably at the wrong versions) in > C:\Perl\site\lib\auto\Wx as I tried load of different things before I got it > working. See end of mail. > > > > So can anyone help? > > > > I just want to be at the latest most stable and appropriate version of > wxPerl and wxWidgets? > > > > Many thanks in advance. > > > > Peter > > > > C:\Perl\site\lib\auto\Wx>ls -Rl > > total 8217 > > drwxrwxrwx 1 user group 0 Apr 13 2006 Calendar > > drwxrwxrwx 1 user group 0 Apr 13 2006 DND > > drwxrwxrwx 1 user group 0 Apr 13 2006 DateTime > > drwxrwxrwx 1 user group 0 Apr 13 2006 DocView > > drwxrwxrwx 1 user group 0 Apr 13 2006 FS > > drwxrwxrwx 1 user group 0 Apr 13 2006 Grid > > drwxrwxrwx 1 user group 0 Apr 13 2006 Help > > drwxrwxrwx 1 user group 0 Apr 13 2006 Html > > drwxrwxrwx 1 user group 0 Apr 13 2006 MDI > > drwxrwxrwx 1 user group 0 Apr 13 2006 Print > > drwxrwxrwx 1 user group 0 Apr 13 2006 STC > > drwxrwxrwx 1 user group 0 Apr 13 2006 Socket > > -r--r--r-- 1 user group 0 Nov 20 2005 Wx.bs > > -r--r--r-- 1 user group 2132480 Nov 20 2005 Wx.dll > > drwxrwxrwx 1 user group 0 Apr 13 2006 XRC > > -r--r--r-- 1 user group 6656 Nov 20 2005 mingwm10.dll > > -r--r--r-- 1 user group 936448 Nov 20 2005 > wxbase26u_gcc_custom.dll > > -r--r--r-- 1 user group 115712 Nov 20 2005 > wxbase26u_net_gcc_custom.dll > > -r--r--r-- 1 user group 157184 Nov 20 2005 > wxbase26u_xml_gcc_custom.dll > > -r--r--r-- 1 user group 506880 Nov 20 2005 > wxmsw26u_adv_gcc_custom.dll > > -r--r--r-- 1 user group 2736640 Nov 20 2005 > wxmsw26u_core_gcc_custom.dll > > -r--r--r-- 1 user group 54784 Nov 20 2005 > wxmsw26u_gl_gcc_custom.dll > > -r--r--r-- 1 user group 489984 Nov 20 2005 > wxmsw26u_html_gcc_custom.dll > > -r--r--r-- 1 user group 107520 Nov 20 2005 > wxmsw26u_media_gcc_custom.dll > > -r--r--r-- 1 user group 629760 Nov 20 2005 > wxmsw26u_stc_gcc_custom.dll > > -r--r--r-- 1 user group 536576 Nov 20 2005 > wxmsw26u_xrc_gcc_custom.dll > > > > Calendar=: > > total 82 > > -r--r--r-- 1 user group 0 Nov 20 2005 Calendar.bs > > -rw-rw-rw- 1 user group 83456 Nov 20 2005 Calendar.dll > > > > DND=: > > total 82 > > -r--r--r-- 1 user group 0 Nov 20 2005 DND.bs > > -rw-rw-rw- 1 user group 83968 Nov 20 2005 DND.dll > > > > DateTime=: > > total 47 > > -r--r--r-- 1 user group 0 Nov 20 2005 DateTime.bs > > -rw-rw-rw- 1 user group 48128 Nov 20 2005 DateTime.dll > > > > DocView=: > > total 206 > > -r--r--r-- 1 user group 0 Nov 20 2005 DocView.bs > > -rw-rw-rw- 1 user group 210432 Nov 20 2005 DocView.dll > > > > FS=: > > total 53 > > -r--r--r-- 1 user group 0 Nov 20 2005 FS.bs > > -rw-rw-rw- 1 user group 54272 Nov 20 2005 FS.dll > > > > Grid=: > > total 262 > > -r--r--r-- 1 user group 0 Nov 20 2005 Grid.bs > > -rw-rw-rw- 1 user group 267776 Nov 20 2005 Grid.dll > > > > Help=: > > total 49 > > -r--r--r-- 1 user group 0 Nov 20 2005 Help.bs > > -rw-rw-rw- 1 user group 49664 Nov 20 2005 Help.dll > > > > Html=: > > total 179 > > -r--r--r-- 1 user group 0 Nov 20 2005 Html.bs > > -rw-rw-rw- 1 user group 183296 Nov 20 2005 Html.dll > > > > MDI=: > > total 55 > > -r--r--r-- 1 user group 0 Nov 20 2005 MDI.bs > > -rw-rw-rw- 1 user group 55808 Nov 20 2005 MDI.dll > > > > Print=: > > total 149 > > -r--r--r-- 1 user group 0 Nov 20 2005 Print.bs > > -rw-rw-rw- 1 user group 152064 Nov 20 2005 Print.dll > > > > STC=: > > total 286 > > -r--r--r-- 1 user group 0 Nov 20 2005 STC.bs > > -rw-rw-rw- 1 user group 292352 Nov 20 2005 STC.dll > > > > Socket=: > > total 73 > > -r--r--r-- 1 user group 0 Nov 20 2005 Socket.bs > > -rw-rw-rw- 1 user group 74752 Nov 20 2005 Socket.dll > > > > XRC=: > > total 127 > > -r--r--r-- 1 user group 0 Nov 20 2005 XRC.bs > > -rw-rw-rw- 1 user group 130048 Nov 20 2005 XRC.dll > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Peter W. <pe...@ds...> - 2007-04-28 13:58:32
|
Hi Ok this has improved things I am now getting through the build after following your advice, great thanks! However I now have a different problem. I can build the script, use my exe app including the grid all, things are happy until I exit. Then I get a Microsoft popup stating (my.exe) has encountered a problem and needs to close. We are sorry for the inconvenience. Please tell Microsoft about this problem. etc I am now using perl -e"use Wx; print Wx::wxVERSION . qq(\n);" 2.008003 With at the top of my script BEGIN { use Wx::Perl::Packager; } The script itself seems to work fine and exits without error when it is not running from the built exe. Any clues? Thanks for all your help. Regards Peter -----Original Message----- From: Mark Dootson [mailto:mar...@zn...] Sent: 28 April 2007 10:59 To: Peter Wilson Cc: wxp...@li... Subject: Re: [wxperl-users] WxPerl and WxWidgets Version Help Hi Peter, The crash you see when trying to package the executable is a combination of the way wxWidgets DLLs are loaded and the way the PDK determines and packs dependencies. It only becomes apparent when you use certain modules outside the wxWidgets core (grid, html, sockets etc) For your version of Wx ( < 0.49 ) the CPAN module Wx::Package::Win32 should solve your problems. If you upgrade to the latest Wx / wxWidgets, it does not remove the problems but there is a different solution in the form of module Wx::Perl::Packager If your current Wx /wxWidgets install meets your requirements then I see no reason to change. If you want to try out the latest release, there are PPMs at http://www.wxperl.co.uk/wxppm/ Regards Mark Peter Wilson wrote: > Hi Everyone > > > > I use wx but am just a simple part time developer and don't actually know > very much about it, I got it working sometime ago and use Activestate's > perlapp to build a standalone excutable and it has worked fine for me for > some time. Now I want to use a wxgrid and its causing it to crash, I don't > know why think its something to do with the grid.dll. > > > > I am guessing a good start to getting round this will be to move up versions > but don't really understand which stable version of wxperl goes with which > stable version of wxwidgets and what suits my version of perl which for > other reasons I need to stay at for the moment. > > > > I am currently running > > > > perl -e"use Wx; print Wx::wxVERSION . qq(\n);" > > 2.006002 > > > > perl -v > > This is perl, v5.8.2 built for MSWin32-x86-multi-thread > > > > I have a copy of MSVC 2003. > > > > And have a mix of files (probably at the wrong versions) in > C:\Perl\site\lib\auto\Wx as I tried load of different things before I got it > working. See end of mail. > > > > So can anyone help? > > > > I just want to be at the latest most stable and appropriate version of > wxPerl and wxWidgets? > > > > Many thanks in advance. > > > > Peter > > > > C:\Perl\site\lib\auto\Wx>ls -Rl > > total 8217 > > drwxrwxrwx 1 user group 0 Apr 13 2006 Calendar > > drwxrwxrwx 1 user group 0 Apr 13 2006 DND > > drwxrwxrwx 1 user group 0 Apr 13 2006 DateTime > > drwxrwxrwx 1 user group 0 Apr 13 2006 DocView > > drwxrwxrwx 1 user group 0 Apr 13 2006 FS > > drwxrwxrwx 1 user group 0 Apr 13 2006 Grid > > drwxrwxrwx 1 user group 0 Apr 13 2006 Help > > drwxrwxrwx 1 user group 0 Apr 13 2006 Html > > drwxrwxrwx 1 user group 0 Apr 13 2006 MDI > > drwxrwxrwx 1 user group 0 Apr 13 2006 Print > > drwxrwxrwx 1 user group 0 Apr 13 2006 STC > > drwxrwxrwx 1 user group 0 Apr 13 2006 Socket > > -r--r--r-- 1 user group 0 Nov 20 2005 Wx.bs > > -r--r--r-- 1 user group 2132480 Nov 20 2005 Wx.dll > > drwxrwxrwx 1 user group 0 Apr 13 2006 XRC > > -r--r--r-- 1 user group 6656 Nov 20 2005 mingwm10.dll > > -r--r--r-- 1 user group 936448 Nov 20 2005 > wxbase26u_gcc_custom.dll > > -r--r--r-- 1 user group 115712 Nov 20 2005 > wxbase26u_net_gcc_custom.dll > > -r--r--r-- 1 user group 157184 Nov 20 2005 > wxbase26u_xml_gcc_custom.dll > > -r--r--r-- 1 user group 506880 Nov 20 2005 > wxmsw26u_adv_gcc_custom.dll > > -r--r--r-- 1 user group 2736640 Nov 20 2005 > wxmsw26u_core_gcc_custom.dll > > -r--r--r-- 1 user group 54784 Nov 20 2005 > wxmsw26u_gl_gcc_custom.dll > > -r--r--r-- 1 user group 489984 Nov 20 2005 > wxmsw26u_html_gcc_custom.dll > > -r--r--r-- 1 user group 107520 Nov 20 2005 > wxmsw26u_media_gcc_custom.dll > > -r--r--r-- 1 user group 629760 Nov 20 2005 > wxmsw26u_stc_gcc_custom.dll > > -r--r--r-- 1 user group 536576 Nov 20 2005 > wxmsw26u_xrc_gcc_custom.dll > > > > Calendar=: > > total 82 > > -r--r--r-- 1 user group 0 Nov 20 2005 Calendar.bs > > -rw-rw-rw- 1 user group 83456 Nov 20 2005 Calendar.dll > > > > DND=: > > total 82 > > -r--r--r-- 1 user group 0 Nov 20 2005 DND.bs > > -rw-rw-rw- 1 user group 83968 Nov 20 2005 DND.dll > > > > DateTime=: > > total 47 > > -r--r--r-- 1 user group 0 Nov 20 2005 DateTime.bs > > -rw-rw-rw- 1 user group 48128 Nov 20 2005 DateTime.dll > > > > DocView=: > > total 206 > > -r--r--r-- 1 user group 0 Nov 20 2005 DocView.bs > > -rw-rw-rw- 1 user group 210432 Nov 20 2005 DocView.dll > > > > FS=: > > total 53 > > -r--r--r-- 1 user group 0 Nov 20 2005 FS.bs > > -rw-rw-rw- 1 user group 54272 Nov 20 2005 FS.dll > > > > Grid=: > > total 262 > > -r--r--r-- 1 user group 0 Nov 20 2005 Grid.bs > > -rw-rw-rw- 1 user group 267776 Nov 20 2005 Grid.dll > > > > Help=: > > total 49 > > -r--r--r-- 1 user group 0 Nov 20 2005 Help.bs > > -rw-rw-rw- 1 user group 49664 Nov 20 2005 Help.dll > > > > Html=: > > total 179 > > -r--r--r-- 1 user group 0 Nov 20 2005 Html.bs > > -rw-rw-rw- 1 user group 183296 Nov 20 2005 Html.dll > > > > MDI=: > > total 55 > > -r--r--r-- 1 user group 0 Nov 20 2005 MDI.bs > > -rw-rw-rw- 1 user group 55808 Nov 20 2005 MDI.dll > > > > Print=: > > total 149 > > -r--r--r-- 1 user group 0 Nov 20 2005 Print.bs > > -rw-rw-rw- 1 user group 152064 Nov 20 2005 Print.dll > > > > STC=: > > total 286 > > -r--r--r-- 1 user group 0 Nov 20 2005 STC.bs > > -rw-rw-rw- 1 user group 292352 Nov 20 2005 STC.dll > > > > Socket=: > > total 73 > > -r--r--r-- 1 user group 0 Nov 20 2005 Socket.bs > > -rw-rw-rw- 1 user group 74752 Nov 20 2005 Socket.dll > > > > XRC=: > > total 127 > > -r--r--r-- 1 user group 0 Nov 20 2005 XRC.bs > > -rw-rw-rw- 1 user group 130048 Nov 20 2005 XRC.dll > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Mark D. <mar...@zn...> - 2007-04-28 14:25:17
|
Are you using the in-memory dynamic load DLL feature of PDK? You cannot. There is no current fix available (that I know of) to make this work. Regards Mark Peter Wilson wrote: > Hi > > Ok this has improved things I am now getting through the build after > following your advice, great thanks! > > However I now have a different problem. I can build the script, use my exe > app including the grid all, things are happy until I exit. Then I get a > Microsoft popup stating > > (my.exe) has encountered a problem and needs to close. We are sorry for > the inconvenience. Please tell Microsoft about this problem. etc > > I am now using > > perl -e"use Wx; print Wx::wxVERSION . qq(\n);" > 2.008003 > > With at the top of my script > > BEGIN { use Wx::Perl::Packager; } > > The script itself seems to work fine and exits without error when it is not > running from the built exe. > > Any clues? Thanks for all your help. > > Regards > > Peter > -----Original Message----- > From: Mark Dootson [mailto:mar...@zn...] > Sent: 28 April 2007 10:59 > To: Peter Wilson > Cc: wxp...@li... > Subject: Re: [wxperl-users] WxPerl and WxWidgets Version Help > > Hi Peter, > > The crash you see when trying to package the executable is a combination of > the way wxWidgets DLLs are loaded and the way the PDK determines and packs > dependencies. It only becomes apparent when you use certain modules outside > the wxWidgets core (grid, html, sockets etc) > > For your version of Wx ( < 0.49 ) the CPAN module > > Wx::Package::Win32 > > should solve your problems. If you upgrade to the latest Wx / wxWidgets, it > does not remove the problems but there is a different solution in the form > of module Wx::Perl::Packager > > If your current Wx /wxWidgets install meets your requirements then I see no > reason to change. > > If you want to try out the latest release, there are PPMs at > http://www.wxperl.co.uk/wxppm/ > > Regards > > Mark > > > > > > Peter Wilson wrote: >> Hi Everyone >> >> >> >> I use wx but am just a simple part time developer and don't actually know >> very much about it, I got it working sometime ago and use Activestate's >> perlapp to build a standalone excutable and it has worked fine for me for >> some time. Now I want to use a wxgrid and its causing it to crash, I don't >> know why think its something to do with the grid.dll. >> >> >> >> I am guessing a good start to getting round this will be to move up > versions >> but don't really understand which stable version of wxperl goes with which >> stable version of wxwidgets and what suits my version of perl which for >> other reasons I need to stay at for the moment. >> >> >> >> I am currently running >> >> >> >> perl -e"use Wx; print Wx::wxVERSION . qq(\n);" >> >> 2.006002 >> >> >> >> perl -v >> >> This is perl, v5.8.2 built for MSWin32-x86-multi-thread >> >> >> >> I have a copy of MSVC 2003. >> >> >> >> And have a mix of files (probably at the wrong versions) in >> C:\Perl\site\lib\auto\Wx as I tried load of different things before I got > it >> working. See end of mail. >> >> >> >> So can anyone help? >> >> >> >> I just want to be at the latest most stable and appropriate version of >> wxPerl and wxWidgets? >> >> >> >> Many thanks in advance. >> >> >> >> Peter >> >> >> >> C:\Perl\site\lib\auto\Wx>ls -Rl >> >> total 8217 >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Calendar >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 DND >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 DateTime >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 DocView >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 FS >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Grid >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Help >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Html >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 MDI >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Print >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 STC >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Socket >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Wx.bs >> >> -r--r--r-- 1 user group 2132480 Nov 20 2005 Wx.dll >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 XRC >> >> -r--r--r-- 1 user group 6656 Nov 20 2005 mingwm10.dll >> >> -r--r--r-- 1 user group 936448 Nov 20 2005 >> wxbase26u_gcc_custom.dll >> >> -r--r--r-- 1 user group 115712 Nov 20 2005 >> wxbase26u_net_gcc_custom.dll >> >> -r--r--r-- 1 user group 157184 Nov 20 2005 >> wxbase26u_xml_gcc_custom.dll >> >> -r--r--r-- 1 user group 506880 Nov 20 2005 >> wxmsw26u_adv_gcc_custom.dll >> >> -r--r--r-- 1 user group 2736640 Nov 20 2005 >> wxmsw26u_core_gcc_custom.dll >> >> -r--r--r-- 1 user group 54784 Nov 20 2005 >> wxmsw26u_gl_gcc_custom.dll >> >> -r--r--r-- 1 user group 489984 Nov 20 2005 >> wxmsw26u_html_gcc_custom.dll >> >> -r--r--r-- 1 user group 107520 Nov 20 2005 >> wxmsw26u_media_gcc_custom.dll >> >> -r--r--r-- 1 user group 629760 Nov 20 2005 >> wxmsw26u_stc_gcc_custom.dll >> >> -r--r--r-- 1 user group 536576 Nov 20 2005 >> wxmsw26u_xrc_gcc_custom.dll >> >> >> >> Calendar=: >> >> total 82 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Calendar.bs >> >> -rw-rw-rw- 1 user group 83456 Nov 20 2005 Calendar.dll >> >> >> >> DND=: >> >> total 82 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 DND.bs >> >> -rw-rw-rw- 1 user group 83968 Nov 20 2005 DND.dll >> >> >> >> DateTime=: >> >> total 47 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 DateTime.bs >> >> -rw-rw-rw- 1 user group 48128 Nov 20 2005 DateTime.dll >> >> >> >> DocView=: >> >> total 206 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 DocView.bs >> >> -rw-rw-rw- 1 user group 210432 Nov 20 2005 DocView.dll >> >> >> >> FS=: >> >> total 53 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 FS.bs >> >> -rw-rw-rw- 1 user group 54272 Nov 20 2005 FS.dll >> >> >> >> Grid=: >> >> total 262 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Grid.bs >> >> -rw-rw-rw- 1 user group 267776 Nov 20 2005 Grid.dll >> >> >> >> Help=: >> >> total 49 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Help.bs >> >> -rw-rw-rw- 1 user group 49664 Nov 20 2005 Help.dll >> >> >> >> Html=: >> >> total 179 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Html.bs >> >> -rw-rw-rw- 1 user group 183296 Nov 20 2005 Html.dll >> >> >> >> MDI=: >> >> total 55 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 MDI.bs >> >> -rw-rw-rw- 1 user group 55808 Nov 20 2005 MDI.dll >> >> >> >> Print=: >> >> total 149 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Print.bs >> >> -rw-rw-rw- 1 user group 152064 Nov 20 2005 Print.dll >> >> >> >> STC=: >> >> total 286 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 STC.bs >> >> -rw-rw-rw- 1 user group 292352 Nov 20 2005 STC.dll >> >> >> >> Socket=: >> >> total 73 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Socket.bs >> >> -rw-rw-rw- 1 user group 74752 Nov 20 2005 Socket.dll >> >> >> >> XRC=: >> >> total 127 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 XRC.bs >> >> -rw-rw-rw- 1 user group 130048 Nov 20 2005 XRC.dll >> >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> wxperl-users mailing list >> wxp...@li... >> https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Peter W. <pe...@ds...> - 2007-04-28 14:35:59
|
Yes That's It!!!! Just switched it off and it works fine. Thank you so much for all your help. Regards Peter -----Original Message----- From: Mark Dootson [mailto:mar...@zn...] Sent: 28 April 2007 15:25 To: Peter Wilson Cc: wxp...@li... Subject: Re: [wxperl-users] WxPerl and WxWidgets Version Help Are you using the in-memory dynamic load DLL feature of PDK? You cannot. There is no current fix available (that I know of) to make this work. Regards Mark Peter Wilson wrote: > Hi > > Ok this has improved things I am now getting through the build after > following your advice, great thanks! > > However I now have a different problem. I can build the script, use my exe > app including the grid all, things are happy until I exit. Then I get a > Microsoft popup stating > > (my.exe) has encountered a problem and needs to close. We are sorry for > the inconvenience. Please tell Microsoft about this problem. etc > > I am now using > > perl -e"use Wx; print Wx::wxVERSION . qq(\n);" > 2.008003 > > With at the top of my script > > BEGIN { use Wx::Perl::Packager; } > > The script itself seems to work fine and exits without error when it is not > running from the built exe. > > Any clues? Thanks for all your help. > > Regards > > Peter > -----Original Message----- > From: Mark Dootson [mailto:mar...@zn...] > Sent: 28 April 2007 10:59 > To: Peter Wilson > Cc: wxp...@li... > Subject: Re: [wxperl-users] WxPerl and WxWidgets Version Help > > Hi Peter, > > The crash you see when trying to package the executable is a combination of > the way wxWidgets DLLs are loaded and the way the PDK determines and packs > dependencies. It only becomes apparent when you use certain modules outside > the wxWidgets core (grid, html, sockets etc) > > For your version of Wx ( < 0.49 ) the CPAN module > > Wx::Package::Win32 > > should solve your problems. If you upgrade to the latest Wx / wxWidgets, it > does not remove the problems but there is a different solution in the form > of module Wx::Perl::Packager > > If your current Wx /wxWidgets install meets your requirements then I see no > reason to change. > > If you want to try out the latest release, there are PPMs at > http://www.wxperl.co.uk/wxppm/ > > Regards > > Mark > > > > > > Peter Wilson wrote: >> Hi Everyone >> >> >> >> I use wx but am just a simple part time developer and don't actually know >> very much about it, I got it working sometime ago and use Activestate's >> perlapp to build a standalone excutable and it has worked fine for me for >> some time. Now I want to use a wxgrid and its causing it to crash, I don't >> know why think its something to do with the grid.dll. >> >> >> >> I am guessing a good start to getting round this will be to move up > versions >> but don't really understand which stable version of wxperl goes with which >> stable version of wxwidgets and what suits my version of perl which for >> other reasons I need to stay at for the moment. >> >> >> >> I am currently running >> >> >> >> perl -e"use Wx; print Wx::wxVERSION . qq(\n);" >> >> 2.006002 >> >> >> >> perl -v >> >> This is perl, v5.8.2 built for MSWin32-x86-multi-thread >> >> >> >> I have a copy of MSVC 2003. >> >> >> >> And have a mix of files (probably at the wrong versions) in >> C:\Perl\site\lib\auto\Wx as I tried load of different things before I got > it >> working. See end of mail. >> >> >> >> So can anyone help? >> >> >> >> I just want to be at the latest most stable and appropriate version of >> wxPerl and wxWidgets? >> >> >> >> Many thanks in advance. >> >> >> >> Peter >> >> >> >> C:\Perl\site\lib\auto\Wx>ls -Rl >> >> total 8217 >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Calendar >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 DND >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 DateTime >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 DocView >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 FS >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Grid >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Help >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Html >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 MDI >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Print >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 STC >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 Socket >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Wx.bs >> >> -r--r--r-- 1 user group 2132480 Nov 20 2005 Wx.dll >> >> drwxrwxrwx 1 user group 0 Apr 13 2006 XRC >> >> -r--r--r-- 1 user group 6656 Nov 20 2005 mingwm10.dll >> >> -r--r--r-- 1 user group 936448 Nov 20 2005 >> wxbase26u_gcc_custom.dll >> >> -r--r--r-- 1 user group 115712 Nov 20 2005 >> wxbase26u_net_gcc_custom.dll >> >> -r--r--r-- 1 user group 157184 Nov 20 2005 >> wxbase26u_xml_gcc_custom.dll >> >> -r--r--r-- 1 user group 506880 Nov 20 2005 >> wxmsw26u_adv_gcc_custom.dll >> >> -r--r--r-- 1 user group 2736640 Nov 20 2005 >> wxmsw26u_core_gcc_custom.dll >> >> -r--r--r-- 1 user group 54784 Nov 20 2005 >> wxmsw26u_gl_gcc_custom.dll >> >> -r--r--r-- 1 user group 489984 Nov 20 2005 >> wxmsw26u_html_gcc_custom.dll >> >> -r--r--r-- 1 user group 107520 Nov 20 2005 >> wxmsw26u_media_gcc_custom.dll >> >> -r--r--r-- 1 user group 629760 Nov 20 2005 >> wxmsw26u_stc_gcc_custom.dll >> >> -r--r--r-- 1 user group 536576 Nov 20 2005 >> wxmsw26u_xrc_gcc_custom.dll >> >> >> >> Calendar=: >> >> total 82 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Calendar.bs >> >> -rw-rw-rw- 1 user group 83456 Nov 20 2005 Calendar.dll >> >> >> >> DND=: >> >> total 82 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 DND.bs >> >> -rw-rw-rw- 1 user group 83968 Nov 20 2005 DND.dll >> >> >> >> DateTime=: >> >> total 47 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 DateTime.bs >> >> -rw-rw-rw- 1 user group 48128 Nov 20 2005 DateTime.dll >> >> >> >> DocView=: >> >> total 206 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 DocView.bs >> >> -rw-rw-rw- 1 user group 210432 Nov 20 2005 DocView.dll >> >> >> >> FS=: >> >> total 53 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 FS.bs >> >> -rw-rw-rw- 1 user group 54272 Nov 20 2005 FS.dll >> >> >> >> Grid=: >> >> total 262 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Grid.bs >> >> -rw-rw-rw- 1 user group 267776 Nov 20 2005 Grid.dll >> >> >> >> Help=: >> >> total 49 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Help.bs >> >> -rw-rw-rw- 1 user group 49664 Nov 20 2005 Help.dll >> >> >> >> Html=: >> >> total 179 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Html.bs >> >> -rw-rw-rw- 1 user group 183296 Nov 20 2005 Html.dll >> >> >> >> MDI=: >> >> total 55 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 MDI.bs >> >> -rw-rw-rw- 1 user group 55808 Nov 20 2005 MDI.dll >> >> >> >> Print=: >> >> total 149 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Print.bs >> >> -rw-rw-rw- 1 user group 152064 Nov 20 2005 Print.dll >> >> >> >> STC=: >> >> total 286 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 STC.bs >> >> -rw-rw-rw- 1 user group 292352 Nov 20 2005 STC.dll >> >> >> >> Socket=: >> >> total 73 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 Socket.bs >> >> -rw-rw-rw- 1 user group 74752 Nov 20 2005 Socket.dll >> >> >> >> XRC=: >> >> total 127 >> >> -r--r--r-- 1 user group 0 Nov 20 2005 XRC.bs >> >> -rw-rw-rw- 1 user group 130048 Nov 20 2005 XRC.dll >> >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> wxperl-users mailing list >> wxp...@li... >> https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Peter W. <pe...@ds...> - 2007-04-30 20:44:30
Attachments:
WxGridTest.rar
|
Hi I had a few problems before with wxgrid and Mark Dootson did a great job of helping me out. Along the way I upgraded and am now at version perl -e"use Wx; print Wx::wxVERSION . qq(\n);" 2.008003 ppm> q wx Querying target 1 (ActivePerl 5.8.2.808) 1. Alien-wxWidgets [0.31.1.~ building, finding and using wxWidgets binaries 2. Wx [0.73.1.~ ansi interface to the wxWidgets cross-platform~ 3. Wx-Demo [0.07] 4. Wx-Perl-Packager [0.07] And am on WinXP. Which I installed from the www.wxperl.co.uk ppm However it seems some functionality has dropped away and my EVT_TEXT_ENTER stuff is not working, and even worse seems to trigger other events (in my main app not the demo one I attach). I have created a small test app with two tabs one with a grid and one with a text control and I can get an EVT_TEXT_ENTER event to trigger. If I mod this to an EVT_TEXT event it works, is this a bug? Or am I doing something really wrong? This is driving me mad I have spent loads of time trying to chase this down but can find anything that says the EVT_TEXT_ENTER has gone away. I attach a rar file of two files created by wxDesigner as a demo of my issue. The two lines below are the ones I have an issue with, obviously the top one is commented out but when I swap them around the EVT_TEXT one works fine. #EVT_TEXT( $this, $main::ID_TEXTCTRL, \&test ); EVT_TEXT_ENTER( $this, $main::ID_TEXTCTRL, \&test ); Peter |
From: Mark D. <mar...@zn...> - 2007-04-30 21:00:22
|
Hi, I can't open rar files here so haven't looked at your code. I assume you have the wxTE_PROCESS_ENTER style set for the TextCtrl? Mark Peter Wilson wrote: > Hi > > I had a few problems before with wxgrid and Mark Dootson did a great job of > helping me out. > > Along the way I upgraded and am now at version > > perl -e"use Wx; print Wx::wxVERSION . qq(\n);" > 2.008003 > > ppm> q wx > Querying target 1 (ActivePerl 5.8.2.808) > 1. Alien-wxWidgets [0.31.1.~ building, finding and using wxWidgets > binaries > 2. Wx [0.73.1.~ ansi interface to the wxWidgets > cross-platform~ > 3. Wx-Demo [0.07] > 4. Wx-Perl-Packager [0.07] > > And am on WinXP. > > Which I installed from the www.wxperl.co.uk ppm > > However it seems some functionality has dropped away and my EVT_TEXT_ENTER > stuff is not working, and even worse seems to trigger other events (in my > main app not the demo one I attach). I have created a small test app with > two tabs one with a grid and one with a text control and I can get an > EVT_TEXT_ENTER event to trigger. If I mod this to an EVT_TEXT event it > works, is this a bug? Or am I doing something really wrong? This is driving > me mad I have spent loads of time trying to chase this down but can find > anything that says the EVT_TEXT_ENTER has gone away. > > I attach a rar file of two files created by wxDesigner as a demo of my > issue. The two lines below are the ones I have an issue with, obviously the > top one is commented out but when I swap them around the EVT_TEXT one works > fine. > > #EVT_TEXT( $this, $main::ID_TEXTCTRL, \&test ); > EVT_TEXT_ENTER( $this, $main::ID_TEXTCTRL, \&test ); > > Peter > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Peter W. <pe...@ds...> - 2007-04-30 21:10:34
|
Many thanks again Mark, that fixes my example but unfortunately not my main code my search for the issue goes on. Peter -----Original Message----- From: Mark Dootson [mailto:mar...@zn...] Sent: 30 April 2007 22:00 To: Peter Wilson Cc: wxp...@li... Subject: Re: [wxperl-users] EVT_TEXT_ENTER bug? (or is it me?) Hi, I can't open rar files here so haven't looked at your code. I assume you have the wxTE_PROCESS_ENTER style set for the TextCtrl? Mark Peter Wilson wrote: > Hi > > I had a few problems before with wxgrid and Mark Dootson did a great job of > helping me out. > > Along the way I upgraded and am now at version > > perl -e"use Wx; print Wx::wxVERSION . qq(\n);" > 2.008003 > > ppm> q wx > Querying target 1 (ActivePerl 5.8.2.808) > 1. Alien-wxWidgets [0.31.1.~ building, finding and using wxWidgets > binaries > 2. Wx [0.73.1.~ ansi interface to the wxWidgets > cross-platform~ > 3. Wx-Demo [0.07] > 4. Wx-Perl-Packager [0.07] > > And am on WinXP. > > Which I installed from the www.wxperl.co.uk ppm > > However it seems some functionality has dropped away and my EVT_TEXT_ENTER > stuff is not working, and even worse seems to trigger other events (in my > main app not the demo one I attach). I have created a small test app with > two tabs one with a grid and one with a text control and I can get an > EVT_TEXT_ENTER event to trigger. If I mod this to an EVT_TEXT event it > works, is this a bug? Or am I doing something really wrong? This is driving > me mad I have spent loads of time trying to chase this down but can find > anything that says the EVT_TEXT_ENTER has gone away. > > I attach a rar file of two files created by wxDesigner as a demo of my > issue. The two lines below are the ones I have an issue with, obviously the > top one is commented out but when I swap them around the EVT_TEXT one works > fine. > > #EVT_TEXT( $this, $main::ID_TEXTCTRL, \&test ); > EVT_TEXT_ENTER( $this, $main::ID_TEXTCTRL, \&test ); > > Peter > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |