> What is the best way how to refresh the window and show users > that the program is still running? Thank you for any good idea.
introduce Win32::GUI::DoEvents() from time to time. look at "RE: [perl-win32-gui-users] Looping Question" for an implementation sample.