Hi All,

i have installed Win32 GUI 0.0.558 on Win Nt through
ppm. Perl version is 5.6.1 (MSWin32-x86-multi-thread).

I tried this simple program to start with.

#!E:/Dev/Perl/bin/perl
    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;
    }

This program generates an Windows application error.

"The instruction at "0x......" referenced memory at
"0x00000000". The memory could not be read.

Could you wise folks out there please point out where
the problem could be.

Thanx in advance
Regards
Arvind

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

Reply via email to