|No such thing as a small change|
Strange Win32::MsgBox behavior with PARby ZlR (Chaplain)
|on Aug 30, 2006 at 15:15 UTC||Need Help??|
ZlR has asked for the
wisdom of the Perl Monks concerning the following question:
Hello Monkz !
Now I have (to me at least) a very strange problem ...
Let's say i do this :
When i run this from the command line i get a single warning pop up .
Now if use PAR with :
pp -gui tt.pl -o tt.exeThen the exe will yield the pop up windows but i will have to click 4 times "OK" to get rid of it !
I'm under XP SP2 ActiveState 5.8. Why, oh, why ??
Update : I thought i should elaborate on why i do this : running an exe with the -gui option is much nicer to the user since it will not launch a "useless" background cmd window. but on the other end it will hide all the error message into nowheresville, unless of course i redirect stderr to a file, but still : it seems better if the error is shown immediatly, hence the MsgBox . Along with this I present the result by calling notepad on a temporary file. This allows me to have a simple "only graphical" interface without using Tk .