in reply to Re^3: Win32::GUI in Active perl 5.16.3
in thread Win32::GUI in Active perl 5.16.3

yes it gets printed but after that it crashes
use Win32::GUI(); warn "got here"; $main = Win32::GUI::Window->new(-width => 100,-height => 100,); $main->AddLabel(-text => "Hello, world"); $main->Show(); Win32::GUI::Dialog();
output
got here at test2.pl line 2.
After printing this it crashes and the same error comes.

Replies are listed 'Best First'.
Re^5: Win32::GUI in Active perl 5.16.3
by Anonymous Monk on May 06, 2013 at 12:41 UTC
    well, keep moving it until you find the line it crashes at :)

    Also, did you successfully run the Win32::GUI test suite?

      for the above mentioned code it crashed in the 3rd line
      Loading DB routines from perl5db.pl version 1.37 Editor support available. Enter h or 'h h' for help, or 'perldoc perldebug' for more help. main::(test2.pl:2): warn "got here"; DB<1> n got here at test2.pl line 2. at test2.pl line 2. main::(test2.pl:3): $main = Win32::GUI::Window->new(-width => 100 +,-height = > 100,); DB<1> n Signal SEGV at C:/Perl/site/lib/Win32/GUI.pm line 745. Win32::GUI::Window::new('Win32::GUI::Window', '-width', 100, ' +-height', 100) called at test2.pl line 3 c:\sam>
      How to run the Win32::GUI test suite?

        How to run the Win32::GUI test suite?

        cpanp -t Win32::GUI