Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Got memory leak in debug mode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Got memory leak in debug mode

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


Joined: 05 April 2011
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote tiger Quote  Post ReplyReply Direct Link To This Post Topic: Got memory leak in debug mode
    Posted: 05 April 2011 at 9:51pm
I'm doing a very simple PopertyGrid with XTP 10.4.2, but I got a lot of memroy leak in debug mode. how to fix this issues?
below is some of my codes
CXTPPropertyGridItem *pCategoryConnection = m_GridSummary.AddCategory(_T("Test"));
pItem = new CXTPPropertyGridItem(_T("Version"), _T("1.0"));
pCategoryConnection->AddChildItem(pItem);


-----------------------------------------------------------------------
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(148) : {60751} client block at 0x052F20D8, subtype c0, 56 bytes long.
a CCmdTarget object at $052F20D8, 56 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(147) : {60750} client block at 0x052F2060, subtype c0, 60 bytes long.
a CCmdTarget object at $052F2060, 60 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60749} normal block at 0x052F1FF8, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
{60748} client block at 0x052F1EC0, subtype c0, 252 bytes long.
a CXTPPropertyGridItem object at $052F1EC0, 252 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60744} normal block at 0x052F1D90, 34 bytes long.
 Data: <   x            > 0C 00 E5 78 08 00 00 00 08 00 00 00 02 00 00 00 
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60743} normal block at 0x052F1D30, 32 bytes long.
 Data: <   x            > 0C 00 E5 78 07 00 00 00 07 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(172) : {60742} client block at 0x052F1CC0, subtype c0, 52 bytes long.
a CCmdTarget object at $052F1CC0, 52 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(148) : {60741} client block at 0x052F1C48, subtype c0, 56 bytes long.
a CCmdTarget object at $052F1C48, 56 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(147) : {60740} client block at 0x052F1BD0, subtype c0, 60 bytes long.
a CCmdTarget object at $052F1BD0, 60 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60739} normal block at 0x052F1B68, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
{60738} client block at 0x052F1A30, subtype c0, 252 bytes long.
a CXTPPropertyGridItem object at $052F1A30, 252 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60736} normal block at 0x052F19D0, 34 bytes long.
 Data: <   x            > 0C 00 E5 78 08 00 00 00 08 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(172) : {60735} client block at 0x052F1960, subtype c0, 52 bytes long.
a CCmdTarget object at $052F1960, 52 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(148) : {60734} client block at 0x052F18E8, subtype c0, 56 bytes long.
a CCmdTarget object at $052F18E8, 56 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(147) : {60733} client block at 0x052F1870, subtype c0, 60 bytes long.
a CCmdTarget object at $052F1870, 60 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60732} normal block at 0x052F1808, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygridview.cpp(364) : {60731} client block at 0x052F16D0, subtype c0, 252 bytes long.
a CXTPPropertyGridItem object at $052F16D0, 252 bytes long
{60730} normal block at 0x052F1680, 20 bytes long.
 Data: <  /   /         > 08 13 2F 05 00 16 2F 05 CD CD CD CD CD CD CD CD 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\controls\xtresize.cpp(148) : {60729} normal block at 0x052F1600, 68 bytes long.
 Data: <<               > 3C 11 83 01 00 00 00 00 00 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygridview.cpp(149) : {60724} client block at 0x052F1590, subtype c0, 52 bytes long.
a CCmdTarget object at $052F1590, 52 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60723} normal block at 0x052F1528, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygrid.cpp(272) : {60722} client block at 0x052F1388, subtype c0, 352 bytes long.
a CXTPPropertyGridView object at $052F1388, 352 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\controls\xtresize.cpp(148) : {60720} normal block at 0x052F1308, 68 bytes long.
 Data: <<               > 3C 11 83 01 00 00 00 00 01 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\controls\xtresize.cpp(138) : {60719} client block at 0x052F1278, subtype c0, 84 bytes long.
a CWnd object at $052F1278, 84 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60668} normal block at 0x052EF9B8, 114 bytes long.
.........
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 06 April 2011 at 2:46am
Attach minimum project that can reproduce it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.125 seconds.