Tejanshu wrote:
> Hi Perl Gurus,
>
> I am new to perl programming, I have a small query here below, kindly
> assist.
>
> This is a standard code snippet found on
> http://search.cpan.org/~robertmay/Win32-GUI-1.03/docs/GUI/Tutorial/Part1.pod
>
>
> *use Win32::GUI;
> $main = Win32::GUI::Window->new(
> -name => 'Main',
> -width => 100,
> -height => 100,
> );
> $main->AddLabel(-text => "Hello, world");
> $main->Show();
> Win32::GUI::DialogBox();*
I think you want 'Dialog' instead of 'DialogBox'.
>
> * sub Main_Terminate {
> -1;
> }*
>
> I have the environment variables set. I have the Win32::GUI at the right
> place (PATH).
>
> But when I try to compile this program (using IDEs like PerlExpress or
> SCiTE) I get the following windows error message.
>
> *
>
> perl.exe has encountered a problem and needs to close. We are sorry for
> the inconvenience.
>
> *
> Can you please tell me where is the problem.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs