Tony, First - thanks, and I'm sure I'll check it out, but it still doesn't help me with my portability problem (unless I decide that under Win32 I'll use your approach but under *nix I'll fork it and enjoy the true semaphoring world...).
Second - will this ominous windows command that pops a dialogue will end upon completion of the longer command execution that invoked it in the first place? Eitan -----Original Message----- From: Anthony Nemmer [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 14:43 To: Schichmanter, EithanX Cc: [EMAIL PROTECTED] Subject: Re: Displaying Messages using perl The only thing I can think of is Win32::MsgBox(), but I seem to remember that there was also a Windows command that would pop open a dialogue or informational box upon execution. Hope this helps. Tony Schichmanter, EithanX wrote: >Hi all, > >I have a 'toughie' for you all (somewhat related to the first question >about this subject): >I work in interop (Unix and Win32) and I need to display a >non-interactive message (such as 'waiting' or 'loading' or 'in >progress') while I perform some time-consuming task (query a remote db, >loading a 'heavy' application etc.). >Since Tk is not thread-safe on Win32 (according to documentation and >several head-on tests I've made myself), I can't fork the process and >create a child window when I want to display my message. >Since I use Unix as well, I can't use Win32::Gui to accomplish this on >every OS I use. > >Any ideas on how I can perform a 'time-consuming' operation and display >a notification about it (which will destroy itself upon successful >completion of the first task) being in progress at the same time? > >P.S - I've tried to use Tk::ProgressSplash, and it works fine for the >splash screen, but I'm looking for something more 'Windows' like in the >sense of a dialog box and not an image. Furthermore, I don't want a >progress bar, but rather a notification that will 'self-destruct'. > >Thanks in advance, > >Schichmanter Eitan >SDM Team Developer, >Petah-Tikva, Israel >Intel(r) >[EMAIL PROTECTED] >phone: +972-3-9207046 >------------------------------ > >Schichmanter Eitan, >CM Consultant and Developer, >LMB-Consulting LTD. >[EMAIL PROTECTED] >www.lmb.co.il > > > >>Hi all >>I recently wrote a script that performs a controlled installation of >>various apps based on several configurations in an ini file. >>The problem I have is I want to be able to display the status of the >>script as it runs. >>I thought I could use TK but I dont want the program to be interactive >> >> > > > >>(just to display messages) and TK waits for an exit statement b/4 >> >> >running > > >>anything after MainLoop. What I reall need is a display object I can >>create and change at various points in the script. >>any ideas >>Thanks >> >> > >_______________________________________________ >ActivePerl mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > >_______________________________________________ >ActivePerl mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > > > -- SKYKING, SKYKING, DO NOT ANSWER. _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
