|
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
>
|