Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Memory leaks with themes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Memory leaks with themes

 Post Reply Post Reply
Author
Message
Denbuerg View Drop Down
Newbie
Newbie


Joined: 14 March 2006
Location: Germany
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Denbuerg Quote  Post ReplyReply Direct Link To This Post Topic: Memory leaks with themes
    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

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Denbuerg View Drop Down
Newbie
Newbie


Joined: 14 March 2006
Location: Germany
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Denbuerg Quote  Post ReplyReply Direct Link To This Post 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).
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 March 2006 at 12:10pm
What version of Toolkit?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Denbuerg View Drop Down
Newbie
Newbie


Joined: 14 March 2006
Location: Germany
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Denbuerg Quote  Post ReplyReply Direct Link To This Post Posted: 21 March 2006 at 2:24am
Xtreme Toolkit Pro v9.70
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Denbuerg View Drop Down
Newbie
Newbie


Joined: 14 March 2006
Location: Germany
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Denbuerg Quote  Post ReplyReply Direct Link To This Post Posted: 21 March 2006 at 7:45am
Hmm, ok.
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.063 seconds.