Print Page | Close Window

XTPCommanBar is leaking memory

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13904
Printed Date: 20 May 2024 at 6:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPCommanBar is leaking memory
Posted By: securigy
Subject: XTPCommanBar is leaking memory
Date Posted: 02 April 2009 at 11:22pm
XTPCommanBar is leaking memory badly... Is there any way I should unload/uninitialize it?



Replies:
Posted By: Oleg
Date Posted: 03 April 2009 at 12:58am

Hi,

You forget free something in your code. don't think you can find leaks in our samples.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: securigy
Date Posted: 03 April 2009 at 4:25am
I followed the sample, but am wondering if there is Unload method or something like that that "frees" the command bar and whater resorses/memory it allocated...


Posted By: Oleg
Date Posted: 06 April 2009 at 11:16am
Hi,
 
destructor of CMainFrame deletes CommandBars object and it free all toolbars/controls/etc.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Pariksh*t
Date Posted: 07 October 2009 at 2:50am
i didnt find such code of deleting commnadbars in destructor of mainframe in your application..
in which app u have done it?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net