Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
Jeremy, It works! I had to take the 5.8.9 version. Firstly I try to take perl 5.10 and 5.12 versions but both suffer from this memory problem. Thank you for your great help! Regards Waldemar -- Enable your software fo

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Jeremy White
> On 23.03.2011 15:42, Jeremy White wrote: > > I'm not sure the approach I use would help you as I draw the whole > > screen (fonts, graphics, backgrounds etc). I've looked at this again, > > and I think I've fixed the bug within Win32::GUI. You mentioned that you > > built Win32::GUI from scratc

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Aldo Calpini
On 23.03.2011 15:42, Jeremy White wrote: > I'm not sure the approach I use would help you as I draw the whole > screen (fonts, graphics, backgrounds etc). I've looked at this again, > and I think I've fixed the bug within Win32::GUI. You mentioned that you > built Win32::GUI from scratch, so if you

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Jeremy White
> One more thing - maybe important. This background color problem is not > neccesary connected with a memory. I think that maybe the bigger problem is > that it rises the GDI object counter. Please compare difference between Perl8 > and Perl10 - in Perl 5.8 in principle the memory is stable wh

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
One more thing - maybe important. This background color problem is not neccesary connected with a memory. I think that maybe the bigger problem is that it rises the GDI object counter. Please compare difference between Perl8 and Perl10 - in Perl 5.8 in principle the memory is stable whereas in P

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
Dnia środa, 23 marca 2011 o 13:46:46 Jeremy White napisał(a): > > Probably I am mixing something. I wrote another variant of the script: > > > test.pl:> ##> #!/usr/bin/perl > > -w> use strict;> use warnings;> use Win32::GUI qw();> my $i = 0; > > Ok:) as soon

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Jeremy White
> Probably I am mixing something. I wrote another variant of the script: > > test.pl:> ##> #!/usr/bin/perl -w> use > strict;> use warnings;> use Win32::GUI qw();> my $i = 0; Ok:) as soon as I saw your code, I can see the problem...The problem is: -backgro

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
Jeremy I've forgotten to send it to the list so it is the second copy... Dnia środa, 23 marca 2011 o 11:22:52 napisałeś: > > > Vista and Windows 7 have larger default values, but you really need to > > > work out why you are using so many GDI objects. It shouldn't be that > > > high... > > > > I