You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
(7) |
Mar
(5) |
Apr
(4) |
May
(15) |
Jun
(10) |
Jul
(4) |
Aug
(12) |
Sep
(39) |
Oct
(22) |
Nov
(46) |
Dec
(65) |
2002 |
Jan
(19) |
Feb
(27) |
Mar
(50) |
Apr
(73) |
May
(85) |
Jun
(52) |
Jul
(49) |
Aug
(95) |
Sep
(152) |
Oct
(81) |
Nov
(42) |
Dec
(62) |
2003 |
Jan
(45) |
Feb
(47) |
Mar
(101) |
Apr
(110) |
May
(53) |
Jun
(72) |
Jul
(125) |
Aug
(77) |
Sep
(87) |
Oct
(69) |
Nov
(55) |
Dec
(71) |
2004 |
Jan
(127) |
Feb
(68) |
Mar
(93) |
Apr
(102) |
May
(64) |
Jun
(92) |
Jul
(40) |
Aug
(113) |
Sep
(44) |
Oct
(61) |
Nov
(44) |
Dec
(100) |
2005 |
Jan
(57) |
Feb
(51) |
Mar
(101) |
Apr
(73) |
May
(45) |
Jun
(97) |
Jul
(92) |
Aug
(94) |
Sep
(46) |
Oct
(83) |
Nov
(82) |
Dec
(68) |
2006 |
Jan
(92) |
Feb
(116) |
Mar
(84) |
Apr
(66) |
May
(40) |
Jun
(57) |
Jul
(89) |
Aug
(82) |
Sep
(58) |
Oct
(94) |
Nov
(104) |
Dec
(70) |
2007 |
Jan
(86) |
Feb
(108) |
Mar
(193) |
Apr
(84) |
May
(71) |
Jun
(54) |
Jul
(17) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mattia B. <mb...@ds...> - 2001-11-29 21:00:48
|
> Hi everyone, Hi, > I've just started using WxPerl and I like what I see so far. > > I need to create an app with the following user interface: > > A big window with a menu bar and status bar (I can do that from the > example on perl.com). > > A toolbar. > > A way from the toolbar or menu for adding a component onto the page (this > would be a frame with an image in, I think). better: just create a MyCanvas derived from Wx::Window that is responsible for all the input handling; it will have an EVT_PAINT handler ( to redraw itself ), and at least EVT_LEFT_DOWN, EVT_MOTION and EVT_RIGHT_DOWN handlers ( see the docs for wxMouseEvent for details ) > >From the component, a right-click context menu (this is the bit I can't > figure out how you do in WxPerl). if $window is some Wx::Window and $menu your Wx::Menu then $window->PopupMenu( $menu, $point ); or $window->PopupMenu( $menu, $x, $y ); will do > A way to join the components together using "wires" - basically lines > drawn from component to component. The lines should move around if I > click-drag the components around. To draw lines use: my $dc = Wx::ClientDC->new( $window ); and then call the appropriate methods on the DC ( device context ) hint: use Wx::DC::SetLogicalFunction( wxXOR ) for drawing connection lines while dragging > Anyway, hope someone can help - I don't need code, just some pointers as > to where to look, since the docs are kinda lacking ;-) I am sure no one will complain if you write them ;-p HTH Mattia |
From: Matt S. <ma...@se...> - 2001-11-29 16:09:04
|
Hi everyone, I've just started using WxPerl and I like what I see so far. I need to create an app with the following user interface: A big window with a menu bar and status bar (I can do that from the example on perl.com). A toolbar. A way from the toolbar or menu for adding a component onto the page (this would be a frame with an image in, I think). From the component, a right-click context menu (this is the bit I can't figure out how you do in WxPerl). A way to join the components together using "wires" - basically lines drawn from component to component. The lines should move around if I click-drag the components around. Anyway, hope someone can help - I don't need code, just some pointers as to where to look, since the docs are kinda lacking ;-) -- <Matt/> /|| ** Founder and CTO ** ** http://axkit.com/ ** //|| ** AxKit.com Ltd ** ** XML Application Serving ** // || ** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** mod_perl news and resources: http://take23.org ** \\// //\\ // \\ |
From: <jdi...@ge...> - 2001-11-28 23:41:37
|
I went back and re-checked the tar.gz file for the PPD distribution and sure enough the wxWindows .dll is there. For some reason the PPD install didn't bring it over ... I deleted my previously compiled .dll and now it works like a charm, my thanks for your help. -j ------------------------------------------------- James Diggans Bioinformatics Programmer Gene Logic, Inc. Phone: 301.987.1756 FAX: 301.987.1701 "Mattia Barbon" <mb...@ds...> To: wxp...@li... Sent by: cc: wxp...@li...urc Subject: Re: [wxperl-users] Entry point failure in eforge.net simple test app? 11/28/01 05:58 PM Please respond to mbarbon > > > Looks suspiciously like you didn't recompile wxPerl against the > > wxWindows library you compiled. > > You are correct, I did not, I used the ppm distribution for wxPerl. I > compiled wxWindows because I could not find a pre-compiled binary. Do you Hhm, it is distributed in the PPM, and should be in: \site\lib\auto\Wx\ after installation If it isn't you could just take the Wx-0.07 .tar.gz in the distribution, and take the DLL from there. But it should really be installed by ppm when you do ppm install > know of one that will work with the ppm version of wxPerl? Perhaps I'm You need to compile it with MinGW ( or just compile wxPerl with MSVC ) > making this more difficult than it need be; I appreciate your patience and > assistance. :) Short instructions: * reinstall with PPM, and remove any wx22_7.dll in your path * if it does not work report to the list what the error message is ( but it really should work... ) HTH Mattia _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users ***The information contained in this email message is intended only for the personal use of the recipient(s) named above. This message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message.*** (Embedded image moved to file: pic11942.pcx) |
From: Mattia B. <mb...@ds...> - 2001-11-28 22:57:41
|
> > > Looks suspiciously like you didn't recompile wxPerl against the > > wxWindows library you compiled. > > You are correct, I did not, I used the ppm distribution for wxPerl. I > compiled wxWindows because I could not find a pre-compiled binary. Do you Hhm, it is distributed in the PPM, and should be in: \site\lib\auto\Wx\ after installation If it isn't you could just take the Wx-0.07 .tar.gz in the distribution, and take the DLL from there. But it should really be installed by ppm when you do ppm install > know of one that will work with the ppm version of wxPerl? Perhaps I'm You need to compile it with MinGW ( or just compile wxPerl with MSVC ) > making this more difficult than it need be; I appreciate your patience and > assistance. :) Short instructions: * reinstall with PPM, and remove any wx22_7.dll in your path * if it does not work report to the list what the error message is ( but it really should work... ) HTH Mattia |
From: Mattia B. <mb...@ds...> - 2001-11-28 22:43:01
|
> > > Hey guys, > > > I've been seaching through the doc's for a way to fire off Events > > even if I'm running a loop such as... > > > > > > foreach my $i (0..999999) {...} > > > > > > I've found the Yield() and SafeYield() functions. But those only > > allow the GUI to be updated for interaction, but don't allow the > > functions tied to the events to be called. At least, as far as I can > > tell anyhow. Anyone have any advice? > > The only "real" solution to your problem is to use threads; as an > > I was afraid of that. :( Are threads available in wxPerl? All I *really* > need to do is toggle a variable by pressing a button to make the loop stop. No, but Perl threads might just work, if you don't call GUI functions from them ( but I _never_ tried ) OTOH, you don't need threads for just a 'stop me' button. I modified the minimal sample like this: ------- sub OnAbout { my( $this, $event ) = @_; MyDialog->new( $this, -1, "AAA" ); foreach ( 1 .. 100000 ) { sleep 1;Wx::Yield(); } # display a simple about box Wx::MessageBox( "This is the about dialog of minimal sample.\n" . "Welcome to wxPerl " . $Wx::VERSION . "\n" . wxVERSION_STRING, "About minimal", wxOK | wxICON_INFORMATION, $this ); } package MyDialog; use vars qw(@ISA); @ISA = qw(Wx::Dialog); use Wx::Event qw(EVT_BUTTON); use Wx qw(wxOK wxICON_INFORMATION wxVERSION_STRING); sub new { my $class = shift; my $this = $class->SUPER::new( @_ ); my $button = Wx::Button->new( $this, -1, "Click" ); EVT_BUTTON( $this, $button, \&Foo ); $this->Show( 1 ); return $this; } sub Foo { Wx::MessageBox( "AA", "BB", wxOK, $_[0] ); } ------ And clicking on the button shows a dialog, just does so once every second, though, so if every iteration of the loop takes, say, 20 seconds, you will be able to stop the calculation just once every 20 seconds > > ( ugly ) workaround you might use a wxTimer; using wxYield is _strongly_ > > discouraged because it can lead to unexpected reentrancy > > problems ( of course there are cases where you can't do without ). > > I never used it, so I can't tell if the handlers not being fired is > > a wxPerl or a wxWindows problem ( will check ). Regards Mattia |
From: <jdi...@ge...> - 2001-11-28 22:05:38
|
> Looks suspiciously like you didn't recompile wxPerl against the > wxWindows library you compiled. You are correct, I did not, I used the ppm distribution for wxPerl. I compiled wxWindows because I could not find a pre-compiled binary. Do you know of one that will work with the ppm version of wxPerl? Perhaps I'm making this more difficult than it need be; I appreciate your patience and assistance. :) Regards, -j "Mattia Barbon" <mb...@ds...> To: wxp...@li... Sent by: cc: wxp...@li...urc Subject: Re: [wxperl-users] Entry point failure in eforge.net simple test app? 11/28/01 04:14 PM Please respond to mbarbon > After compiling wxWindows into a DLL on a WinNT system using ActivePerl > build 623 w/ VC++ I've created a simple wxPerl app to test it's > functionality. When launching a script that runs: > > ##### > use MyModule::GUI::App; > > # Create an instance of the Wx::App-derived class > my $app = new MyModule::GUI::App(); > > # Start processing events > $app->MainLoop(); > ##### > > I get an error in the App.pm file at the line that states: > > use Wx qw(wxDefaultPosition); > > and a window pops up saying: > > "The procedure entry point > Above__28wxIndividualLayoutConstraintP12wxWindowBasei count not be located > in the dynamic link library wx22_7.dll" Looks suspiciously like you didn't recompile wxPerl against the wxWindows library you compiled. Why not start with the ppm package? It is compiled against 2.2.7, so what is the problem/why are you recompiling wxWindows? > printed to the console. I'm not really sure what's going wrong here or > where to start looking ... anyone have any ideas? Many thanks, The problem is that Wx.dll is compiled with MinGW > wxWindows/wxPerl so far looks very exciting if I can get it to work ... Regards Mattia _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users ***The information contained in this email message is intended only for the personal use of the recipient(s) named above. This message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message.*** (Embedded image moved to file: pic26299.pcx) |
From: Casey W. <wil...@nc...> - 2001-11-28 21:56:49
|
Ok, I figured out the variable thing...I was using an anonymous sub instead of a regular sub ref in the Event function. ----- Original Message ----- From: "Casey Williams" <wil...@nc...> To: <wxp...@li...> Sent: Wednesday, November 28, 2001 3:33 PM Subject: Re: [wxperl-users] How to kick off event functions while in a loop > > > Hey guys, > > > I've been seaching through the doc's for a way to fire off Events > > even if I'm running a loop such as... > > > > > > foreach my $i (0..999999) {...} > > > > > > I've found the Yield() and SafeYield() functions. But those only > > allow the GUI to be updated for interaction, but don't allow the > > functions tied to the events to be called. At least, as far as I can > > tell anyhow. Anyone have any advice? > > The only "real" solution to your problem is to use threads; as an > > I was afraid of that. :( Are threads available in wxPerl? All I *really* > need to do is toggle a variable by pressing a button to make the loop stop. > > > ( ugly ) workaround you might use a wxTimer; using wxYield is _strongly_ > > discouraged because it can lead to unexpected reentrancy > > problems ( of course there are cases where you can't do without ). > > I never used it, so I can't tell if the handlers not being fired is > > a wxPerl or a wxWindows problem ( will check ). > > Thanks again! > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Casey W. <wil...@nc...> - 2001-11-28 21:33:12
|
> > Hey guys, > > I've been seaching through the doc's for a way to fire off Events > even if I'm running a loop such as... > > > > foreach my $i (0..999999) {...} > > > > I've found the Yield() and SafeYield() functions. But those only > allow the GUI to be updated for interaction, but don't allow the > functions tied to the events to be called. At least, as far as I can > tell anyhow. Anyone have any advice? > The only "real" solution to your problem is to use threads; as an I was afraid of that. :( Are threads available in wxPerl? All I *really* need to do is toggle a variable by pressing a button to make the loop stop. > ( ugly ) workaround you might use a wxTimer; using wxYield is _strongly_ > discouraged because it can lead to unexpected reentrancy > problems ( of course there are cases where you can't do without ). > I never used it, so I can't tell if the handlers not being fired is > a wxPerl or a wxWindows problem ( will check ). Thanks again! |
From: Mattia B. <mb...@ds...> - 2001-11-28 21:18:03
|
> Hey guys, > I've been seaching through the doc's for a way to fire off Events even if I'm running a loop such as... > > foreach my $i (0..999999) {...} > > I've found the Yield() and SafeYield() functions. But those only allow the GUI to be updated for interaction, but don't allow the functions tied to the events to be called. At least, as far as I can tell anyhow. Anyone have any advice? The only "real" solution to your problem is to use threads; as an ( ugly ) workaround you might use a wxTimer; using wxYield is _strongly_ discouraged because it can lead to unexpected reentrancy problems ( of course there are cases where you can't do without ). I never used it, so I can't tell if the handlers not being fired is a wxPerl or a wxWindows problem ( will check ). Regards Mattia |
From: Mattia B. <mb...@ds...> - 2001-11-28 21:14:01
|
> After compiling wxWindows into a DLL on a WinNT system using ActivePerl > build 623 w/ VC++ I've created a simple wxPerl app to test it's > functionality. When launching a script that runs: > > ##### > use MyModule::GUI::App; > > # Create an instance of the Wx::App-derived class > my $app = new MyModule::GUI::App(); > > # Start processing events > $app->MainLoop(); > ##### > > I get an error in the App.pm file at the line that states: > > use Wx qw(wxDefaultPosition); > > and a window pops up saying: > > "The procedure entry point > Above__28wxIndividualLayoutConstraintP12wxWindowBasei count not be located > in the dynamic link library wx22_7.dll" Looks suspiciously like you didn't recompile wxPerl against the wxWindows library you compiled. Why not start with the ppm package? It is compiled against 2.2.7, so what is the problem/why are you recompiling wxWindows? > printed to the console. I'm not really sure what's going wrong here or > where to start looking ... anyone have any ideas? Many thanks, The problem is that Wx.dll is compiled with MinGW > wxWindows/wxPerl so far looks very exciting if I can get it to work ... Regards Mattia |
From: Casey W. <wil...@nc...> - 2001-11-28 20:42:46
|
Hey guys, I've been seaching through the doc's for a way to fire off Events = even if I'm running a loop such as... foreach my $i (0..999999) {...} I've found the Yield() and SafeYield() functions. But those only allow = the GUI to be updated for interaction, but don't allow the functions = tied to the events to be called. At least, as far as I can tell anyhow. = Anyone have any advice? Thanks guys! -Casey Williams |
From: Jessee P. <por...@us...> - 2001-11-28 20:16:28
|
There are 3 tutorials on perlmonks which might prove useful, though only the last approaches a "full application" http://www.perlmonks.org/index.pl?node_id=112297&lastnode_id=3989 http://www.perlmonks.org/index.pl?node_id=112816&lastnode_id=3989 http://www.perlmonks.org/index.pl?node_id=122227&lastnode_id=3989 regards, Jesse Porter -- As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. -- Benjamin Franklin |
From: Marcus <li...@wo...> - 2001-11-28 19:46:29
|
Does anybody have code for a "real" application they could share as an example? Thanks, Marcus |
From: <jdi...@ge...> - 2001-11-28 17:00:41
|
After compiling wxWindows into a DLL on a WinNT system using ActivePerl build 623 w/ VC++ I've created a simple wxPerl app to test it's functionality. When launching a script that runs: ##### use MyModule::GUI::App; # Create an instance of the Wx::App-derived class my $app = new MyModule::GUI::App(); # Start processing events $app->MainLoop(); ##### I get an error in the App.pm file at the line that states: use Wx qw(wxDefaultPosition); and a window pops up saying: "The procedure entry point Above__28wxIndividualLayoutConstraintP12wxWindowBasei count not be located in the dynamic link library wx22_7.dll" and a perl error saying: Can't load 'C:/Perl/site/lib/auto/Wx/Wx.dll' for module Wx: load_file:The specif ied procedure could not be found at C:/Perl/lib/DynaLoader.pm line 200. at H:\pub/MyModule/GUI/App.pm line 5 Compilation failed in require at H:\pub/MyModule/GUI/App.pm line 5. BEGIN failed--compilation aborted at H:\pub/MyModule/GUI/App.pm line 5. Compilation failed in require at H:\ratools\testGXScan-GUI.pl line 6. BEGIN failed--compilation aborted at H:\ratools\testGXScan-GUI.pl line 6. printed to the console. I'm not really sure what's going wrong here or where to start looking ... anyone have any ideas? Many thanks, wxWindows/wxPerl so far looks very exciting if I can get it to work ... Regards, -j ------------------------------------------------- James Diggans Bioinformatics Programmer Gene Logic, Inc. Phone: 301.987.1756 FAX: 301.987.1701 |
From: Mattia B. <mb...@ds...> - 2001-11-27 08:34:37
|
On Mon, 26 Nov 2001, Chris Waddell wrote: >Is wxTaskBarIcon implemented in wxPerl? I looked through the keys of %Wx:: >but couldn't find any mention of it. I'm running Windows 2000, and I hope It isn't yet wrapped; in my todo list for 0.09 >the statement made in the following document that this class is only >supported for Windows 95/NT doesn't imply that it's not supported in later >versions of Windows. Generally when you read "for NT" or "for 95/NT" it does work on 2k too ( 2k =~ NT 5.0 ) >wxTaskBarIcon: >http://parthe.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin383.htm > >I'm moving over from Win32::GUI due to some unsavoury shortcomings, and I'm >very impressed with both wxWindows and wxPerl! Regards Mattia |
From: Chris W. <ch...@wz...> - 2001-11-27 06:29:23
|
Is wxTaskBarIcon implemented in wxPerl? I looked through the keys of %Wx:: but couldn't find any mention of it. I'm running Windows 2000, and I hope the statement made in the following document that this class is only supported for Windows 95/NT doesn't imply that it's not supported in later versions of Windows. wxTaskBarIcon: http://parthe.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin383.htm I'm moving over from Win32::GUI due to some unsavoury shortcomings, and I'm very impressed with both wxWindows and wxPerl! Regards, Chris Waddell |
From: Mattia B. <mb...@ds...> - 2001-11-25 00:20:16
|
<replying to the list> > Hi Mattia, > Here's the example that I promised. It's as simple as I can get > it. It's basically a skeleton of my app, but shows some odd behavior. > I was able to get around some of the crashing. I think that I needed to > pay more attention to what ID's I was using. But I don't really know > much about what the ID's actually do, so I'm giving most of my stuff > unique ID's. They are just IDs ( identifiers ); in wxPerl you rarely need explicit identifires ( i.e. passing an id != -1 ), but in wxWindows ( C++ ) you can't do without them ( OK, you _could_ do, but it would be impratical ) > Anyhow, the problems I'm getting with this code exist in the > TextCTRL and the Listbox. If you go to "file" "new" and create a bunch > of tabs and compare the Listboxes on each tab, they have different > properties, ranging from text boldness to the order in which things were > inserted into the Listbox. Also, you'll note that in some Listbox's the > "wxLB_EXTENDED" feature works and on some it doesn't. All the Listbox's > on each tab *should* be the same from what I can see, since they're all > created with the same "constructor". The problem with the TextCTRL at > the bottem only *seems* to exist on windows xp as it doesn't show up > that I can remember on my win2k machine. On XP, the default text shows > up as *'s and not the actual text. I had it on 2k, too, the problem is that you need to combine flags using '|', not passing a list of them; i.e. you do [wxLB_NEEDED_SB, wxLB_EXTENDED], but you must do wxLB_NEEDED_SB|wxLB_EXTENDED Regards Mattia |
From: Casey W. <wil...@nc...> - 2001-11-23 22:09:40
|
Ok, I'll work on putting something together. This is a straight script without Perlapp. I fixed some of the problems by putting everything in the same file instead of using .pm's. I dunno why that would make a difference, but it did. I'm probably subtly doing something wrong, that won't be reproduced in a smaller script, but I'll give it a go. :) Also, this is using the original events.pm, not my version with everything in the @EXPORTS_OK array. Thanks for your time! -Casey -----Original Message----- From: wxp...@li... [mailto:wxp...@li...] On Behalf Of Mattia Barbon Sent: Friday, November 23, 2001 4:02 PM To: wxp...@li... Subject: Re: [wxperl-users] wxPerl "weirdness" > Hey Guys, > I'm wondering if anyone has gotten results anything like I'm getting. > I can change very little things in a program, and it will cause wxPerl > to crash. Also, I added an event and now default text Crash like a popup talkig about access violation/etc or something else? > shows up as *'s. I know I'm being very non-specific, I'm just wondering > if anyone else has had weird things happen like this. I'd be happy to > send off my code for perusal. If you could make a small example that consistently reproduce the problem it would be perfect. Are you using threads? Are you seeing this just with perl2exe, or on 'normal' scripts too? > I *am* running on XP Pro, would that be a problem? It should not Regards Mattia _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Mattia B. <mb...@ds...> - 2001-11-23 22:01:03
|
> Hey Guys, > I'm wondering if anyone has gotten results anything like I'm > getting. I can change very little things in a program, and it will > cause wxPerl to crash. Also, I added an event and now default text Crash like a popup talkig about access violation/etc or something else? > shows up as *'s. I know I'm being very non-specific, I'm just wondering > if anyone else has had weird things happen like this. I'd be happy to > send off my code for perusal. If you could make a small example that consistently reproduce the problem it would be perfect. Are you using threads? Are you seeing this just with perl2exe, or on 'normal' scripts too? > I *am* running on XP Pro, would that be a problem? It should not Regards Mattia |
From: Casey W. <wil...@nc...> - 2001-11-23 21:28:37
|
Hey Guys, I'm wondering if anyone has gotten results anything like I'm getting. I can change very little things in a program, and it will cause wxPerl to crash. Also, I added an event and now default text shows up as *'s. I know I'm being very non-specific, I'm just wondering if anyone else has had weird things happen like this. I'd be happy to send off my code for perusal. I *am* running on XP Pro, would that be a problem? TIA -Casey Williams |
From: Marcus <li...@wo...> - 2001-11-22 12:05:25
|
On 21.11.01 at 22:17 Mattia Barbon wrote: >I figured >it'd be easier to autogenerate exports for events too. You should >look at Wx::_Exp.pm, that lists them all, and it use()d by >Wx.pm . In short: there is something wrong with perl2exe :-) First, Thanks to Mattia for creating wxPerl. I looked at wx twice in the last 1.5 years, but it didn't support Perl, so I decided to move. This is very cool :-) I just compiled the treectrl sample with Perl2Exe and it worked when the wx22_7.dll was in the same directory from which the application was run. Are you saying that more complex applications do not run at all, or that they do not work in the way you were experimenting with? I'd like to ask the Perl2Exe developers if they would support wxPerl. Can you give me any technical info as to what they need to do which I could send them? I need to be able to distribute my applications to regular Windows users, so an .exe file is necessary if I'm to use wxPerl. Wx looks great, so I hope it is possible. Thanks, Marcus |
From: Casey W. <wil...@nc...> - 2001-11-21 21:27:54
|
LOL! Sure! Let me know the event name whenever you add and event and I'll add it to the list and send it back to you. ;) But honestly, it's not hard to make this work by adding them myself, so it's no big deal. As far as the exe builders, I think you're setup is a bit too complicated for'em. There are some things those builders shouldn't do. So it may not be a problem, more of a feature. ;) -Casey > Oh, and you'll send me an updated list everytime > I add a new event? ;-) > Seriously: I once had the @EXPORT_OK list in Wx::Event, > but when I wrote the code to automatically generate the export list > for constants ( at the moment they are avove 1000 ... ), I figured > it'd be easier to autogenerate exports for events too. You should > look at Wx::_Exp.pm, that lists them all, and it use()d by > Wx.pm . In short: there is something wrong with perl2exe :-) > > Regards > Mattia > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Mattia B. <mb...@ds...> - 2001-11-21 21:17:16
|
> U:\Perls\Wx\VNC>perlapp -f -g -c vncadmin.pl -exe testwx.exe > "EVT_MENU" is not exported by the Wx::Event module at VA_Frame.pm line 5 > "EVT_SIZE" is not exported by the Wx::Event module at VA_Frame.pm line 5 > > FreeStanding Builder failed to compile the script : Can't continue after > import errors at > VA_Frame.pm line 5 > BEGIN failed--compilation aborted at VA_Frame.pm line 5. > BEGIN failed--compilation aborted at (eval 30) line 5. > > ...whenever I tried building with PerlApp. So...I opened up the Event.pm in > the Wx directory in my site\lib dir and added all of the events that I'm > using in my program to the @EXPORT_OK array. Now building and running > works. > > My question is...Would adding all of the Events in the Event.pm file into > the @EXPORT_OK array screw anything up, (I don't see why it would)? If not, No, it wont, but see below > could this be added in the next release of wxPerl? :) Heck, I'll do it and > send in if the developer doesn't want the hassle. :) Oh, and you'll send me an updated list everytime I add a new event? ;-) Seriously: I once had the @EXPORT_OK list in Wx::Event, but when I wrote the code to automatically generate the export list for constants ( at the moment they are avove 1000 ... ), I figured it'd be easier to autogenerate exports for events too. You should look at Wx::_Exp.pm, that lists them all, and it use()d by Wx.pm . In short: there is something wrong with perl2exe :-) Regards Mattia |
From: Casey W. <wil...@nc...> - 2001-11-21 20:09:32
|
Ok, may have figured it out...I was getting these errors... U:\Perls\Wx\VNC>perlapp -f -g -c vncadmin.pl -exe testwx.exe "EVT_MENU" is not exported by the Wx::Event module at VA_Frame.pm line 5 "EVT_SIZE" is not exported by the Wx::Event module at VA_Frame.pm line 5 FreeStanding Builder failed to compile the script : Can't continue after import errors at VA_Frame.pm line 5 BEGIN failed--compilation aborted at VA_Frame.pm line 5. BEGIN failed--compilation aborted at (eval 30) line 5. ...whenever I tried building with PerlApp. So...I opened up the Event.pm in the Wx directory in my site\lib dir and added all of the events that I'm using in my program to the @EXPORT_OK array. Now building and running works. My question is...Would adding all of the Events in the Event.pm file into the @EXPORT_OK array screw anything up, (I don't see why it would)? If not, could this be added in the next release of wxPerl? :) Heck, I'll do it and send in if the developer doesn't want the hassle. :) -Casey Williams ----- Original Message ----- From: "Casey Williams" <wil...@nc...> To: <wxp...@li...> Sent: Wednesday, November 21, 2001 1:43 PM Subject: Re: [wxperl-users] Perl2Exe with wxPerl > It seems that easy wxPerl scripts work with PerlApp However, once I started > importing events and such, PerlApp started bombing. I'll hack around and > see what I can find out. :( > > -Casey > > ----- Original Message ----- > From: "Casey Williams" <wil...@nc...> > To: "Marco Trudel" <wx...@so...>; <wxp...@li...> > Sent: Wednesday, November 21, 2001 1:09 PM > Subject: Re: [wxperl-users] Perl2Exe with wxPerl > > > > I'm not sure about Perl2Exe but with PerlApp, it extracts the stuff in the > > exe to the TEMP system variable. The location of the dir it extracts to > is > > $INC[0]. You'll be able to find "bind"ed files under there. Knowing > > this...I'm thinking *maybe* a BEGIN block could be used to copy this to a > > permanant location. > > > > -Casey > > > > ----- Original Message ----- > > From: "Marco Trudel" <wx...@so...> > > To: <wxp...@li...> > > Sent: Wednesday, November 21, 2001 12:56 PM > > Subject: Re: [wxperl-users] Perl2Exe with wxPerl > > > > > > > Marcus wrote: > > > > > > > Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create > > > > binaries for distribution, or is there another way? > > > > > > > > Thanks, > > > > > > > > Marcus > > > > > > > > > > yeah, it's possible... i'll do it right now... > > > but it's like Casey Williams says, you have to use a dll... > > > > > > but when we already have this topic, i've a question to perl2exe: > > > i think it just takes the code and the libs to a file and when you > > > execute it it extracts itselft somewhere and runs the script with the > > > interpreter... > > > > > > is this right? i think so because the exe files are always very big... > > > about 700kb for a simple print... > > > isn't there a real perl COMPILER in this whole world out there ? > > > > > > greetings > > > marco > > > > > > > > > > > > _______________________________________________ > > > wxperl-users mailing list > > > wxp...@li... > > > https://lists.sourceforge.net/lists/listinfo/wxperl-users > > > > > > > > > _______________________________________________ > > wxperl-users mailing list > > wxp...@li... > > https://lists.sourceforge.net/lists/listinfo/wxperl-users > > > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Casey W. <wil...@nc...> - 2001-11-21 19:43:40
|
It seems that easy wxPerl scripts work with PerlApp However, once I started importing events and such, PerlApp started bombing. I'll hack around and see what I can find out. :( -Casey ----- Original Message ----- From: "Casey Williams" <wil...@nc...> To: "Marco Trudel" <wx...@so...>; <wxp...@li...> Sent: Wednesday, November 21, 2001 1:09 PM Subject: Re: [wxperl-users] Perl2Exe with wxPerl > I'm not sure about Perl2Exe but with PerlApp, it extracts the stuff in the > exe to the TEMP system variable. The location of the dir it extracts to is > $INC[0]. You'll be able to find "bind"ed files under there. Knowing > this...I'm thinking *maybe* a BEGIN block could be used to copy this to a > permanant location. > > -Casey > > ----- Original Message ----- > From: "Marco Trudel" <wx...@so...> > To: <wxp...@li...> > Sent: Wednesday, November 21, 2001 12:56 PM > Subject: Re: [wxperl-users] Perl2Exe with wxPerl > > > > Marcus wrote: > > > > > Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create > > > binaries for distribution, or is there another way? > > > > > > Thanks, > > > > > > Marcus > > > > > > > yeah, it's possible... i'll do it right now... > > but it's like Casey Williams says, you have to use a dll... > > > > but when we already have this topic, i've a question to perl2exe: > > i think it just takes the code and the libs to a file and when you > > execute it it extracts itselft somewhere and runs the script with the > > interpreter... > > > > is this right? i think so because the exe files are always very big... > > about 700kb for a simple print... > > isn't there a real perl COMPILER in this whole world out there ? > > > > greetings > > marco > > > > > > > > _______________________________________________ > > wxperl-users mailing list > > wxp...@li... > > https://lists.sourceforge.net/lists/listinfo/wxperl-users > > > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |