From: Johan L. <jo...@ba...> - 2001-06-26 12:49:45
|
Louis wrote: > $main->AddLabel(-text => "Hello, world"); Add a -name option and you're fine. All controls must have a name. >I am sure the error is not in perl or your win-gui module Actually, I think it's something that could be fixed in the Win32::GUI module. If I remember correctly, all controls are assumed to actually have a -name, and when you don't pass one along... Perl.exe should preferrably never, ever crash in that way. /J ------ ---- --- -- -- -- - - - - - Johan Lindström Boss Casinos Sourcerer jo...@ba... http://www.bahnhof.se/~johanl/ If the only tool you have is a hammer, everything tends to look like a nail |