Re: Out of breath - second try
- Posted by Martin Stachon <martin.stachon at worldonline.cz> Feb 22, 2003
- 457 views
Derek, I have win32lib v0.58.00 02/Jan/2003 and when I click start, with task manager I see that with every frame drawn, GDI object usage raises by 2. This can lead to lack of resources soon under Win9x. Martin ----- Original Message ----- From: "Derek Parnell" <ddparnell at bigpond.com> To: "EUforum" <EUforum at topica.com> Subject: Re: Out of breath - second try Hi Roland, >----- Original Message ----- >From: <r.stowasser at web.de> >To: "EUforum" <EUforum at topica.com> >Sent: Thursday, February 20, 2003 3:59 AM >Subject: Out of breath - second try > > >Hello list, > >it seems that the code I attached was not sent completely due of the >dashes between the procedures. So I would like to try it again: > >The following little program works quite nice, but somehow I am loosing >my gdi and system resources in Win95 and Win98 (probably in Win Me too) >when running it. I am using Euphoria v 2.3 and win32lib 57.9 with some >changes I found in the mailing list. >Using Window´s resource monitor (Rsrcmtr.exe) I can see visually how my >little pc gets out of breath after starting the show. Am I doing >something wrong? After exiting the program the resources are (almost) >released again. I suppose I need some more statement anywhere in the code? [code snipped] Your code is fine and it works well with v0.58.x win32lib. There were some resource bugs that I've fixed up now. Can I use this as a demo for the library? I'll be posting the next win32lib update this weekend after I squash a font bug. ---------------- cheers, Derek Parnell