Cancelling: DoModal vs. DoEvents

2010-01-25 Thread w...@serensoft.com
Short version: When a Cancel/Terminate event returns -1 during Win32::GUI::DoEvents(), how can we percolate that up to the previous DoModal() instance? Long version: When the script is waiting for user input via DoModal and the user clicks Cancel or Terminates the window, we return -1 to mean "clo

Re: PerlScript OLE browser [was How to simulate VB "Casting" for $perl_objects via Win32::OLE?]

2009-12-17 Thread w...@serensoft.com
ice 97 in Perl and DHTML). > > > > Cheers, > > -Jan > > > > *From:* trill...@gmail.com [mailto:trill...@gmail.com] *On Behalf Of * > w...@serensoft.com > *Sent:* Wednesday, December 16, 2009 3:11 PM > *To:* Jan Dubois > *Cc:* perl-win32-users@listserv.activ

Re: How to simulate VB "Casting" for $perl_objects via Win32::OLE?

2009-12-17 Thread w...@serensoft.com
That looks like a utility to take an existing perl program and convert it to a .NET-savvy executable: http://docs.activestate.com/pdk/8.1/ => click PerlNET link If that's the case, it won't resolve our issue. If it's not the case, we misunderstood. :) On Thu, Dec 17, 2009 at 10:58 AM, Jenda Kry

PerlScript OLE browser [was How to simulate VB "Casting" for $perl_objects via Win32::OLE?]

2009-12-16 Thread w...@serensoft.com
If you > cannot access the interfaces from there, then you won’t be able to access > them via Win32::OLE either. > > > > Cheers, > > -Jan > > > > > > *From:* perl-win32-users-boun...@listserv.activestate.com [mailto: > perl-win32-users-boun...@listserv.

How to simulate VB "Casting" for $perl_objects via Win32::OLE?

2009-12-16 Thread w...@serensoft.com
Hi -- Short version: how can we simulate .NET/VB object-type CASTing, in Win32::OLE Perl? Long version: We're building a bridge between a java-web-app and a .net-based-desktop app. Perl is the glue language of choice, of course :) Where we've got trouble is that the .net programmers tell us we