|  | 
| Possible GDI font handle leak? | 
| Post Reply   | 
| Author | |
| metallica787   Newbie   Joined: 24 June 2016 Status: Offline Points: 2 |  Post Options  Thanks(0)  Quote  Reply  Topic: Possible GDI font handle leak? Posted: 24 June 2016 at 5:14am | 
| 
   We are using Xtreme SuitePro ActiveX Controls v16.2.3 in our application and noticed our app is consuming lots of GDI-handles (> 6000). Most of them are font handles. I created two VB6 test projects, which both add 500 Labels onto a form. Project 1 uses Codejock.Labels, project 2 VB.Labels. As you can see, project 1 uses 900 font handles whereas project 2 uses only 4. Is this normal behaviour and if so, can we somehow share the font handles between controls? | |
|  | |
| flowfact   Newbie   Joined: 04 August 2016 Status: Offline Points: 5 |  Post Options  Thanks(0)  Quote  Reply  Posted: 01 December 2016 at 12:42pm | 
| 
   I can fully confirm that!!! Does anybody have news on that? | |
|  | |
| astoyan   Admin Group     Joined: 24 August 2013 Status: Offline Points: 324 |  Post Options  Thanks(0)  Quote  Reply  Posted: 05 December 2016 at 11:00pm | 
| 
   That is a known issue and we're working on fixing it for the next update. Regards,   Alexander | |
|  | |
| astoyan   Admin Group     Joined: 24 August 2013 Status: Offline Points: 324 |  Post Options  Thanks(0)  Quote  Reply  Posted: 12 January 2017 at 8:07pm | 
| 
   The issue has been fixed for version 18.0, all GDI handles get cached now, which means that in some scenarios where lots of controls of the same class are use the reduction should be drastic. Regards,   Alexander | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |