From: Eric W. <scr...@gm...> - 2006-09-10 10:48:50
|
Hi, I'm using PAR to package an app which uses Wx::ActiveX and running into the same problem as described in this thread from one year ago. http://sourceforge.net/mailarchive/message.php?msg_id=12836096 Can anyone (Donovan?) confirm that that fix works? Is there a workaround that I'm unable to find? No new releases to ActiveX since 2003? Thanks, Eric -- Moving pianos is dangerous. Moving pianos are dangerous. Buffalo buffalo buffalo buffalo buffalo buffalo buffalo. --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- |
From: Mattia B. <mat...@li...> - 2006-09-10 14:19:59
|
On Sun, 10 Sep 2006 03:48:43 -0700 Eric Wilhelm <scr...@gm...> wrote: > Hi, > > I'm using PAR to package an app which uses Wx::ActiveX and running into > the same problem as described in this thread from one year ago. > > http://sourceforge.net/mailarchive/message.php?msg_id=12836096 > > Can anyone (Donovan?) confirm that that fix works? Is there a > workaround that I'm unable to find? > > No new releases to ActiveX since 2003? Graciliano seems MIA. I sent a couple of emails once but no answer came. I think somebody should take over Wx::ActiveX if he can no longer be contacted. Regards Mattia |
From: Donovan A. <al...@Zo...> - 2006-09-11 22:06:57
|
Doh, I then went to the Sourceforge message you linked. Hmm...yes, I = don't think it worked like Jan had posted it. I don't have the source = accessible atm, but I as I recall, ripping the guts out of AxWindows = solved both issues I had.=20 ________________________________ From: wxp...@li... on behalf of Donovan = Allen Sent: Mon 9/11/2006 3:04 PM To: Mattia Barbon; Eric Wilhelm Cc: wxperl-users Subject: Re: [wxperl-users] Wx::ActiveX abandoned? Oh gosh, sorry, I was on a camping trip! Looks like you got it solved, = but yes, it did end up working for me.=20 I pillaged a recent AxWindows (since one is obviously based on the other = anyway), just as you have done, but I forgot to clean it up and resubmit = it. :-(=20 I spent so many dang hours on that problem and then getting everything = to compile, I apologize for letting someone else endure the same pain. Seems like there was something else that got fixed from my process, but = I will have to see if I have any notes on what it was. ________________________________ From: wxp...@li... on behalf of Mattia = Barbon Sent: Sun 9/10/2006 7:20 AM To: Eric Wilhelm Cc: wxperl-users Subject: Re: [wxperl-users] Wx::ActiveX abandoned? On Sun, 10 Sep 2006 03:48:43 -0700 Eric Wilhelm <scr...@gm...> wrote: > Hi, > > I'm using PAR to package an app which uses Wx::ActiveX and running = into > the same problem as described in this thread from one year ago. > > http://sourceforge.net/mailarchive/message.php?msg_id=3D12836096 > > Can anyone (Donovan?) confirm that that fix works? Is there a > workaround that I'm unable to find? > > No new releases to ActiveX since 2003? Graciliano seems MIA. I sent a couple of emails once but no answer came. I think somebody should take over Wx::ActiveX if he can no longer be contacted. Regards Mattia -------------------------------------------------------------------------= Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users -------------------------------------------------------------------------= Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Eric W. <scr...@gm...> - 2006-09-10 20:32:26
|
# from Mattia Barbon # on Sunday 10 September 2006 07:20 am: >=A0 Graciliano seems MIA. I sent a couple of emails once but >no answer came. I think somebody should take over Wx::ActiveX >if he can no longer be contacted. I would love to, but I can't get it to build. I might have something=20 wrong in my setup, but it looks like there's a problem of it being=20 built for 2.4 compatibility. I get lots of errors about wxLogTrace()=20 having a different prototype as well as SetTransparent() undeclared=20 (and looking in the include/wx/msw/window.h source I find that inside=20 of "#if WXWIN_COMPATIBILITY_2_4".) But the real showstopper appears to be: ActiveX.xs: In function `void boot_Wx__ActiveX(PerlInterpreter*, CV*)': ActiveX.xs:36: error:=20 `CleanUpClasses' is not a member of `wxClassInfo' ActiveX.xs:37: error:=20 `InitializeClasses' is not a member of `wxClassInfo' We've been using the binary build off of sourceforge, but I don't see=20 any source there. What's the secret to getting this to build? I'm using the camelpack, and never did get WxPerl to build from source=20 either, so I've probably got troubles. I'm not sure how to get=20 wxWidgets to build from source either -- think the configure or=20 something was the trouble. Thanks, Eric =2D-=20 "I've often gotten the feeling that the only people who have learned from computer assisted instruction are the authors." =2D-Ben Schneiderman =2D-------------------------------------------------- http://scratchcomputing.com =2D-------------------------------------------------- |
From: Eric W. <scr...@gm...> - 2006-09-10 23:51:06
|
# from Mark Dootson # on Sunday 10 September 2006 02:28 pm: >As a temp fix assuming you are using wxWidgets 2.6.x or later >you can comment out the three lines for >SetTransparent() >CleanUpClasses >InitializeClasses > >for the wxLogTrace stuff, you can either comment them out or change > >from >wxLogTrace(wxT('My Message')) >to >wxLogTrace('%s', wxT('My Message')) Thanks, that does get it to build and it seems to still work outside the par. Now we're back to only the one (original) problem. >With regard to your earlier question (packaging Win32::OLE), have you >tried simply loading Win32::OLE before you load Wx::ActiveX? That doesn't seem to help. The trouble seems to be with these LoadLibrary() and GetModuleHandle() calls (windows api?) And (now that I can actually try it), neither does the suggestion from the older thread of using: SV *sv = get_sv("PerlApp::Win32_OLE", FALSE); hmodule = GetModuleHandle(sv ? SvPV_nolen(sv) : "OLE"); because hmodule == 0 if (hmodule != 0) { we never get to the important bit. But, I managed to follow-up on the rather vague reference to this having been fixed before and located the "Try to find using Dynaloader" code in Win32::GUI::AxWindow http://search.cpan.org/src/LROCHER/Win32-GUI-AxWindow-0.07/AxWindow.xs And now all is well (except for the many hours which are now dead and gone.) I'll push these changes out to CPAN as soon as I am able (read that as: "hey, frustrated programmer in 2007, ping me if I haven't done it yet.") --Eric -- I arise in the morning torn between a desire to improve the world and a desire to enjoy the world. This makes it hard to plan the day. --E.B. White --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- |
From: Eric W. <scr...@gm...> - 2006-09-11 05:47:07
|
# from Eric Wilhelm # on Sunday 10 September 2006 04:50 pm: >I'll push these changes out to CPAN as soon as I am able (read that > as: "hey, frustrated programmer in 2007, ping me if I haven't done it > yet.") Meanwhile, if anyone would like to test this, please let me know how well it works for you. http://scratchcomputing.com/tmp/Wx-ActiveX-0.05_01.tar.gz Thanks, Eric -- Entia non sunt multiplicanda praeter necessitatem. --Occam's Razor --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- |
From: Peter R. <Pet...@ho...> - 2007-01-02 08:33:15
|
On Sun, 10 Sep 2006 16:50:56 -0700 Eric Wilhelm wrote: > I'll push these changes out to CPAN as soon as I am able (read that as: > "hey, frustrated programmer in 2007, ping me if I haven't done it > yet.") > > --Eric http://search.cpan.org/~ewilhelm/ <-- PING :) |
From: Mark D. <mar...@zn...> - 2006-09-10 21:51:38
|
Eric, As a temp fix assuming you are using wxWidgets 2.6.x or later you can comment out the three lines for SetTransparent() CleanUpClasses InitializeClasses for the wxLogTrace stuff, you can either comment them out or change from wxLogTrace(wxT('My Message')) to wxLogTrace('%s', wxT('My Message')) That done, it should build. (it builds on a VC6 built perl) Whether it works or not is a different question :-) With regard to your earlier question (packaging Win32::OLE), have you tried simply loading Win32::OLE before you load Wx::ActiveX? So 'use Win32::OLE;' at the top of your script? Regards Mark Eric Wilhelm wrote: > # from Mattia Barbon > # on Sunday 10 September 2006 07:20 am: > >> Graciliano seems MIA. I sent a couple of emails once but >> no answer came. I think somebody should take over Wx::ActiveX >> if he can no longer be contacted. > > I would love to, but I can't get it to build. I might have something > wrong in my setup, but it looks like there's a problem of it being > built for 2.4 compatibility. I get lots of errors about wxLogTrace() > having a different prototype as well as SetTransparent() undeclared > (and looking in the include/wx/msw/window.h source I find that inside > of "#if WXWIN_COMPATIBILITY_2_4".) > > But the real showstopper appears to be: > > ActiveX.xs: In function > `void boot_Wx__ActiveX(PerlInterpreter*, CV*)': > ActiveX.xs:36: error: > `CleanUpClasses' is not a member of `wxClassInfo' > ActiveX.xs:37: error: > `InitializeClasses' is not a member of `wxClassInfo' > > We've been using the binary build off of sourceforge, but I don't see > any source there. What's the secret to getting this to build? > > I'm using the camelpack, and never did get WxPerl to build from source > either, so I've probably got troubles. I'm not sure how to get > wxWidgets to build from source either -- think the configure or > something was the trouble. > > Thanks, > Eric |
From: Donovan A. <al...@Zo...> - 2006-09-11 22:04:46
|
Oh gosh, sorry, I was on a camping trip! Looks like you got it solved, = but yes, it did end up working for me. =20 =20 I pillaged a recent AxWindows (since one is obviously based on the other = anyway), just as you have done, but I forgot to clean it up and resubmit = it. :-( =20 =20 I spent so many dang hours on that problem and then getting everything = to compile, I apologize for letting someone else endure the same pain. =20 Seems like there was something else that got fixed from my process, but = I will have to see if I have any notes on what it was. =20 ________________________________ From: wxp...@li... on behalf of Mattia = Barbon Sent: Sun 9/10/2006 7:20 AM To: Eric Wilhelm Cc: wxperl-users Subject: Re: [wxperl-users] Wx::ActiveX abandoned? On Sun, 10 Sep 2006 03:48:43 -0700 Eric Wilhelm <scr...@gm...> wrote: > Hi, > > I'm using PAR to package an app which uses Wx::ActiveX and running = into > the same problem as described in this thread from one year ago. > > http://sourceforge.net/mailarchive/message.php?msg_id=3D12836096 > > Can anyone (Donovan?) confirm that that fix works? Is there a > workaround that I'm unable to find? > > No new releases to ActiveX since 2003? Graciliano seems MIA. I sent a couple of emails once but no answer came. I think somebody should take over Wx::ActiveX if he can no longer be contacted. Regards Mattia -------------------------------------------------------------------------= Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |