Ramakanta,
The problem is that system will block until the script completes, which means
the join() on the thread will also block. If you can do without the return
value, you can detach() the thread instead of join()ing it.
I'm not too sure as to how you can call DoEvents() while waiting for system()
to return and also return a value. Someone else may reply to your email with an
elegant solution. Otherwise, you could try searching the Win32::GUI Users mail
archive here. There are quite a number of posts concerning threads and
Win32::GUI; some also have sample code, which you may find useful.
Sorry I can't be of more help.
Kevin.
_________________________________________________________________
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/
------------------------------------------------------------------------------
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/