I thought I shuld take a look at win32::gui, and started out with the following script taken from a tutorial:

-----

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;
}

-----

Looks simple enough, but causes DrWatson to kill perl.exe.
AddLabel seems to be the culprit.

Does anyone have a solution, or should I just refran from using AddLabel?

/Peter

Reply via email to