Print Page | Close Window

Memory leaks with themes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3815
Printed Date: 22 July 2025 at 9:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Memory leaks with themes
Posted By: Denbuerg
Subject: Memory leaks with themes
Date Posted: 20 March 2006 at 5:58am
Hi,
I have a few memory leaks but I don't know how to clean them. Maybe someone has an idea.

..\..\Source\Controls\Standard\XTButtonTheme.cpp(40) : {1349} normal block at 0x00F84FF0, 88 bytes long.
 Data: <t1               > 74 31 97 00 D8 BF F8 00 00 00 00 00 01 00 00 00
..\..\Source\Controls\Standard\XTTabCtrlTheme.cpp(53) : {1338} normal block at 0x01530F18, 48 bytes long.
 Data: <     L       y  > 80 FA 97 00 80 4C F8 00 02 00 00 00 D0 79 88 00
..\..\Source\Controls\Standard\XTFlatControlsTheme.cpp(41) : {649} client block at 0x00F8C3E8, subtype c0, 20 bytes long.
a CXTFlatControlsThemeFactory object at $00F8C3E8, 20 bytes long
..\..\Source\Controls\Standard\XTTabCtrlTheme.cpp(53) : {634} client block at 0x00F84C80, subtype c0, 20 bytes long.
a CXTTabCtrlThemeFactory object at $00F84C80, 20 bytes long
..\..\Source\Controls\Standard\XTButtonTheme.cpp(40) : {631} client block at 0x00F8BFD8, subtype c0, 20 bytes long.
a CXTButtonThemeFactory object at $00F8BFD8, 20 bytes long

Some of these memory leaks I also get when I start the Button example of the toolkit




Replies:
Posted By: Oleg
Date Posted: 20 March 2006 at 9:40am

Hello,

What visual studio do you run? Retail/Evaluation? Version?

Can you show error log for Button Sample?



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


Posted By: Denbuerg
Date Posted: 20 March 2006 at 9:49am
I use
Microsoft Visual Studio 2005
Version 8.0.50727.42  (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Here the log after I exit the sample :

Detected memory leaks!
Dumping objects ->
f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\tooltip.cpp(475) : {375} normal block at 0x0036D790, 48 bytes long.
 Data: <(         & nbsp;     > 28 00 00 00 01 00 00 00 DA 06 01 00 12 07 01 00
f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\tooltip.cpp(412) : {337} client block at 0x0036D6E0, subtype c0, 112 bytes long.
a CToolTipCtrl object at $0036D6E0, 112 bytes long
..\..\Source\Controls\Standard\XTButtonTheme.cpp(40) : {223} normal block at 0x0036D618, 140 bytes long.
 Data: <    0 6         > 0C AC 87 00 30 84 36 00 01 00 00 00 01 00 00 00
f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {113} normal block at 0x00368500, 124 bytes long.
 Data: <         &n bsp;  0 6 > 00 00 00 00 00 00 00 00 D8 C5 87 00 30 84 36 00
f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\map_pp.cpp(69) : {112} normal block at 0x00368480, 68 bytes long.
 Data: <         &n bsp;      > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
..\..\Source\Controls\Standard\XTButtonTheme.cpp(40) : {111} client block at 0x00368430, subtype c0, 20 bytes long.
a CXTButtonThemeFactory object at $00368430, 20 bytes long
.\ToolkitPro.cpp(51) : {103} client block at 0x00368138, subtype c0, 64 bytes long.
a CDynLinkLibrary object at $00368138, 64 bytes long
{97} client block at 0x003639E0, subtype c0, 64 bytes long.
a CDynLinkLibrary object at $003639E0, 64 bytes long
Object dump complete.
Codejock ToolkitPro Terminating!
The program '[220] ButtonD.exe: Native' has exited with code 0 (0x0).


Posted By: Oleg
Date Posted: 20 March 2006 at 12:10pm
What version of Toolkit?

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


Posted By: Denbuerg
Date Posted: 21 March 2006 at 2:24am
Xtreme Toolkit Pro v9.70


Posted By: Oleg
Date Posted: 21 March 2006 at 7:40am

Hello,

Guess it is reason. 9.70 was released before Visual Studio 2005 beta 1, so we didn't test it with this studio..

9.70 is quite old vrsion, I recommend you to wait 10.0 and upgrade.



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


Posted By: Denbuerg
Date Posted: 21 March 2006 at 7:45am
Hmm, ok.



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