Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9314
| From | "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: GDI Objects creeping up |
| Date | 2016-05-04 08:58 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <ngc6c9$u97$1@dont-email.me> (permalink) |
| References | <nga8uu$n54$2@dont-email.me> |
Hello Martin, it can be also the missing call of the garbage collector. I have inserted in our programs the check for too many open GDI objects regularly and if it superizes a certain limit a collectforced() is called. Many years ago we had real problems with GDI objects not destroyed correctly. We made a new Icon class inherited from ICON and we needed to insert a "DestroyIcon" and RegisterAxit explicitly. But I do not remember how we found out. Arne Ortlinghaus ACS Data Systems "Martin" <Martin@spam.spam> schrieb im Newsbeitrag news:nga8uu$n54$2@dont-email.me... > Hello > > I use the following to monitor GDI Objects > > GetGuiResources(GetCurrentProcess(),GR_GDIOBJECTS) > > And now we are finding that is it creeping up a lot. > > Any ideas what to check, I know there must be a leak, but where do I look? > > Thanks > > Martin
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GDI Objects creeping up Martin <Martin@spam.spam> - 2016-05-03 14:30 +0100
Re: GDI Objects creeping up "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2016-05-04 08:58 +0200
Re: GDI Objects creeping up Martin <Martin@spam.spam> - 2016-05-04 09:07 +0100
Re: GDI Objects creeping up Martin <Martin@spam.spam> - 2016-05-04 11:05 +0100
Re: GDI Objects creeping up Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2016-05-04 11:21 +0200
Re: GDI Objects creeping up Martin <Martin@spam.spam> - 2016-05-04 11:10 +0100
Re: GDI Objects creeping up Benito Fernández Meneses <bfernandez@bfmconsultores.com.mx> - 2016-05-04 10:29 -0500
Re: GDI Objects creeping up "Jamal Assaf" <someone@example.com> - 2016-05-04 21:34 -0400
Re: GDI Objects creeping up Camille Kater <katercam@pt.lu> - 2016-05-05 09:52 +0200
Re: GDI Objects creeping up Otto Christiaanse <ofchristiaanse@gmail.com> - 2016-05-05 03:47 -0700
Re: GDI Objects creeping up "Jamal Assaf" <someone@example.com> - 2016-05-07 13:09 -0400
Re: GDI Objects creeping up "Jamal Assaf" <someone@example.com> - 2016-05-08 00:50 -0400
Re: GDI Objects creeping up Otto Christiaanse <ofchristiaanse@gmail.com> - 2016-05-17 02:33 -0700
Re: GDI Objects creeping up Martin <Martin@spam.spam> - 2016-05-05 09:37 +0100
Re: GDI Objects creeping up "Jamal Assaf" <someone@example.com> - 2016-05-07 13:12 -0400
csiph-web