RE: OLE Events and STDIN

2008-06-13 Thread Jan Dubois
On Fri, 13 Jun 2008, Michael Ellery wrote: > Jan Dubois wrote: > > In general it would be better to provide a GUI for your input, using > > Tk, Tkx, Win32::GUI, wxPerl etc. which would avoid the problem > > altogether. > > It's been a long time since I've tried any GUI programming in perl, > but I

Re: OLE Events and STDIN

2008-06-13 Thread Michael Ellery
Jan Dubois wrote: > > You may get something working by using Term::ReadKey::ReadKey() in > non-blocking mode interleaved with calls to Win32::OLE->SpinMessageLoop(). > thanks for this advice -- I'm going to give Spin/ReadKey a try first. It has the undesirable polling loop aspect but i think i

RE: OLE Events and STDIN

2008-06-13 Thread Jan Dubois
On Fri, 13 Jun 2008, Michael Ellery wrote: > > I would like to accept OLE Events in my script - I've written working > code that successfully receives events. Now I want to also receive > some console (stdin) input. I typically use Term::Readline for this, > although I'm happy to try something else

OLE Events and STDIN

2008-06-13 Thread Michael Ellery
Win32 Users, I would like to accept OLE Events in my script - I've written working code that successfully receives events. Now I want to also receive some console (stdin) input. I typically use Term::Readline for this, although I'm happy to try something else. The basic problem is that Win3