On Tue, 26 Jun 2001 08:23:16 -0400, Louis Bohm said:

> I am getting perl.exe - Application Error  when trying to run the
>  following 
>  code:
>       use Win32::GUI;
>       $main = Win32::GUI::Window->new(
>                -name   => 'Main',
>                -width  => 100,
>                -height => 100,
>        );
>       $main->AddLabel(-text => "Hello, world");
>       $main->Show();
>       Win32::GUI::Dialog();
>  
>       sub Main_Terminate {
>        -1;
>       }

Try giving your label a name.

regards,

erick

Reply via email to