I don't know much about the guts of Win32::GUI (or Win32 in general, or
POE for that matter), but would a combination of POE and Win32::GUI be
successful, or is Win32::GUI not stable enough yet? Or simply not
constructed for that sort of thing? To me the possibilities seem great,
but maybe I'm just following the hype, being too enthusiastic about POE.

My monitoring example is, namely, just an example. It does by the way
use quite a lot of HTTP specific stuff with cookies and redirects, so
that's why I chose to implement the networking with a module instead of
making it neatly non-blocking.

        -Ludde

Reini Urban wrote:
> 
> If Win32::GUI would be thread-safe :)
> POE is for sure a very nice abstraction layer for process management.
> 
> I would also recommend reading an ordinary win32 sdk book, the charles petzold
> "Programming Windows" probably. http://www.relisoft.com/win32/
> if you borrow it from a library you'll get the cd, where the complete text
> is in chm! (4mb)
> This book would answer 80% if the questions here, btw.
> 
> The very good perl cookbook has some good descriptions on process management,
> blocking, locks, threads, forks and alarms.
> There exists also a fulltext version in html.
> I don't fully understand this yet.
> 
> but i think that your web monitor example is covered in the cookbook.
> 
> Ludvig af Klinteberg schrieb:
> > I just read some about POE (Perl Object Environment -
> > http://poe.perl.org), and it seems really interesting. I had the idea
> > that by combining POE and Win32::GUI you could perhaps create a UI
> > program that doesn't freeze whenever it's doing something time
> > consuming. (e.g. sending/receiving data over a network)
> >
> > Some time ago I wrote a small program using Win32::GUI and
> > LWP::UserAgent that downloaded a web page every X minutes and checked if
> > it had been updated, and if it had the program popped up a window on the
> > screen. The only problem was that it was impossible to interact with the
> > program while it was downloading this (quite large) page from the
> > (rather slow) server. The idea struck me that maybe rewriting the whole
> > thing using POE might solve my troubles? As I said, I have no experience
> > with POE, but if it could be successfully combined with Win32::GUI I
> > would definitely look into it. So, can it be done? Has anyone with POE
> > knowledge tried it?
> --
> Reini Urban
> http://xarch.tu-graz.ac.at/home/rurban/
> 
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Reply via email to