Hi Rob,

 

Checked out latest (25/06/2006 about 1:40AM GMT)... compiled, tested, installed all okay.

 

Ran code below and watched memory in task manager diminish...

 

Running on Windows XP Professional SP2, Intel CPU (P4 2.4GHz), 1GB RAM...

 

Installed:

ActivePerl 5.8.7 build 815

VC6++

 

Rgds

 

Chris Wearn

 

 

>But I can't duplicate the memory leak reported (perl 5.8.7 813,

>Win32::GUI 1.03, win98 and win2k).  Jez reports this as still happening

>on WinXP - can anyone else duplicate a memory leak running this code:

 

use strict;

use Win32::GUI;

 

my ($W,$but);

while (1) {

$W = new Win32::GUI::Window(

#-name => "TestWindow",

-pos => [ 0, 0],

-size => [210, 200],

-text => "TestWindow",

);

$but=$W->AddButton(

#-name => "test",

-text => "Button 1",

-size => [ 70, 22 ],

-pos => [ 20, 20 ],

);

}

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.3/374 - Release Date: 23/06/2006