>I know about Win32::GUI::DoEvents() method but I think it is used
>in a loop only. Does anybody have any idea how to stop frezing

In essence, LWP uses a blocking call to do whatever it's trying to do. Meaning that while LWP is running, Win32::GUI isn't listening to events, which is why the window appears to freeze (it's really just not listening to your mouseclicks or your window focus).

Besides doing a lot of magic, you may want to look into setting the network timeouts on LWP to something really low like 2 seconds. In this event, the window will freeze for only 2 seconds (at most).

As it is now, the window will freeze until LWP feels like giving control back - if your network is slow or there is network congestion, this could be as much as three minutes or more (depends on your machine and connection).

Morbus Iff
.sig on other machine.
http://www.disobey.com/
http://www.gamegrene.com/


Reply via email to