You are missing some important stuff, like, where does it go? However, the error is probably happening because the label doesn't have a name.
The documentation is not at all complete but the basics are there: http://www.perl.it/dada/gui_docs/gui.html -Pete > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 14, 2002 10:43 > To: perl-win32-gui-users@lists.sourceforge.net > Subject: [perl-win32-gui-users] AddLabel method problem > > > Hello, > > I work with win32::GUI on Windows NT and I have a problem > when my program execute: > > $main->AddLabel(-text => "Hello World"); > > > The error message is: > > perl.exe Application Error > > The instruction at 0x7897787 referenced memory at > 0x0000000000. The memory could not be read. > > > could you help me. > Thank you > Sylvain > > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >