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 it would actually 
be fine for my purposes.

> 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 
IIRC usually there is a point where you have to call a message loop in 
order to allow the UI to process messages.  How would that work with 
with Win32::OLE's MessageLoop()?  Obviously I can't have two message 
loops going - would the UI message loop be sufficient to deliver my COM 
events (in other words, I'd never have to call OLE's MessageLoop)?


-Mike


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to