Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Win32-GUI CPAN distribution.

Report information
The Basics
Id: 4692
Status: resolved
Priority: 0/
Queue: Win32-GUI

People
Owner: Nobody in particular
Requestors: gabriel [...] starsupplyonline.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.0.558
Fixed in: 1.0



Subject: Win32::GUI::Window Crashes Perl
I downloaded and installed Win32-gui ver. 0.0.558 and am uanble to create windows. Whenever I use the following: $main = Win32::GUI::Window->new(-name => 'Main', -width => 100, -height => 100); or anything remotely similar, Perl simply crashes due to an illegal operation. What can I do to fix this problem? I will be DL and trying an older version of the package to test for stability. This problem occured on both a Gateway laptop running 98 and a Gateway desktop running XP. Same exact problem on both machines. Any help would be greatly appreciated. Thank YOu Gabriel Morales
From: mattr atnospam telebody dotcom
WinXP fresh install of Activestate Perl 5.8.3 build 809, Win32::GUI installed via ppm3 from activestate repository. The Hello World program from gui tut 1 crashes on AddLabel, makes a window fine otherwise. Uh-oh.
follow up by Matt.. However Win32::GUI works fine on WinXP if I do a fresh install of cygwin (including perl and win32 perl library also from cygwin installer). No crash on AddLabel which makes me think the ppm was maybe bad.
I found that by adding a name to the label, it doesn't crash: $label = $main->AddLabel(-text => "Hello, World", -name => 'label'); [guest - Sun Feb 22 08:30:06 2004]: Show quoted text
> The Hello World program from gui tut 1 crashes on AddLabel, makes a > window fine otherwise. Uh-oh.
The issue of needing a '-name' option to avoid crashes was addressed in Win32::GUI V1.0 Regards, Rob.