Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Possible GDI font handle leak?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Possible GDI font handle leak?

 Post Reply Post Reply
Author
Message Reverse Sort Order
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 284
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Topic: Possible GDI font handle leak?
    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
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 284
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
flowfact View Drop Down
Newbie
Newbie


Joined: 04 August 2016
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote flowfact Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2016 at 12:42pm
I can fully confirm that!!!
Does anybody have news on that?
Back to Top
metallica787 View Drop Down
Newbie
Newbie


Joined: 24 June 2016
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote metallica787 Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.142 seconds.