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 .use strict ; use warnings ; use Win32 ; $SIG{ __DIE__ } = sub { Win32::MsgBox ("Error : @_" , 0, $0 ) } ; die "ARRG" ;
Now if use PAR with :
pp -gui tt.pl -o tt.exe
Then 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 .
In reply to Strange Win32::MsgBox behavior with PAR by ZlR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |