BuddyControl and UserControl_Terminate event |
Post Reply |
Author | |
Dett
Newbie Joined: 28 December 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 03 September 2014 at 9:29am |
Using a
PushButton with associate BuddyControl in a UserControl the
UserControl_Terminate event is only triggered when the program is unloaded.
Removing the association to the BuddyControl, the terminate event is triggered
when the form is unloaded - as expected.
A negative side effect is that the GDI resources are not released, so that after some time of work the windows limit for GDI handles (10,000) is reached. In regfree-com the program exits with error 373 (Failed to load control ...) or the program freezes or crashes. Here is a short example project to demonstrate the effect (you need the taskmanager with the addional column "gdi objects") |
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Language: VB6 SP6 Platform: Windows 7 Enterprise 64-Bit |
|
mcmastl
Admin Group Joined: 14 April 2015 Status: Offline Points: 79 |
Post Options
Thanks(0)
|
Thank you for bringing this to our attention, we have informed our development team and we will be looking into the issue. If the matter has been resolved please let us know.
|
|
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ScottW
Groupie Joined: 02 August 2005 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
Was this ever fixed? I seem to be running into this with an UpDown control connected to a FlatEdit Control. It only causes this problem when it appears on a UserControl
|
|
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 |