<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Set Layout causes Memory Leaks</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Set Layout causes Memory Leaks]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:28:09 +0000</pubDate>
  <lastBuildDate>Fri, 13 Jun 2008 06:39:04 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=11011</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Set Layout causes Memory Leaks : Hi, Try to reproduce it with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11011&amp;PID=36662&amp;title=set-layout-causes-memory-leaks#36662</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11011<br /><strong>Posted:</strong> 13 June 2008 at 6:39am<br /><br />Hi,<DIV>Try to reproduce it with any our sample.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Jun 2008 06:39:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11011&amp;PID=36662&amp;title=set-layout-causes-memory-leaks#36662</guid>
  </item> 
  <item>
   <title><![CDATA[Set Layout causes Memory Leaks : Hi,  I have an MDI application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11011&amp;PID=36629&amp;title=set-layout-causes-memory-leaks#36629</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 11011<br /><strong>Posted:</strong> 12 June 2008 at 1:51pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have an MDI application that uses command bars, docking panes and the MTI tabbed stuff. </DIV><DIV>&nbsp;</DIV><DIV>When the application exits, I save the Docking States and restore it again at startup. If there is no docking state saved, I create the Docking Panes otherwise, I just let the SetLayout do it.</DIV><DIV>&nbsp;</DIV><DIV>I have found that when I exit the app, if I created the Docking Panes, there are no leaks, but if I have called SetLayout using a layout stored in the registry, I get the memory leaks below.</DIV><DIV>&nbsp;</DIV><DIV>I assume that I am failing some cleanup somewhere. Does anyone have suggestions?</DIV><DIV>&nbsp;</DIV><DIV><FONT size=1><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanemanager.cpp(397) : {2386} client block at 0x08004668, subtype c0, 88 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $08004668, 88 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(149) : {2383} client block at 0x080045F0, subtype c0, 56 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $080045F0, 56 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(147) : {2382} normal block at 0x08004590, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(146) : {2381} normal block at 0x08004530, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(145) : {2380} normal block at 0x080044D0, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">{2379} normal block at 0x08004480, 20 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; C D D 0E &gt; C0 43 00 08 20 44 00 08 D0 44 00 08 30 45 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(144) : {2378} normal block at 0x08004420, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(143) : {2376} normal block at 0x080043C0, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(142) : {2375} client block at 0x08004370, subtype c0, 20 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CObject object at $08004370, 20 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">{2374} normal block at 0x08004308, 38 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0A 00 00 00 0A 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">{2373} normal block at 0x080042B0, 28 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 05 00 00 00 05 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(688) : {2372} normal block at 0x08004240, 48 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt;L&#093; 0? &gt; 4C 5D E6 02 02 00 00 00 00 00 00 00 30 3F 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">{2371} normal block at 0x07FF49F8, 20 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; @ hA @B &gt; 90 40 00 08 68 41 00 08 40 42 00 08 CD CD CD CD </FONT></P><P><FONT face="Courier New, Courier, mono">{2370} normal block at 0x080041D8, 42 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0C 00 00 00 0C 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(687) : {2369} normal block at 0x08004168, 48 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt;$&#093; 0? &gt; 24 5D E6 02 01 00 00 00 01 00 00 00 30 3F 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">{2367} normal block at 0x08004100, 40 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0B 00 00 00 0B 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(686) : {2366} normal block at 0x08004090, 48 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; \ 0? &gt; D4 5C E6 02 00 00 00 00 01 00 00 00 30 3F 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(457) : {2365} normal block at 0x08002ED0, 8 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 FF FF FF FF </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(684) : {2364} normal block at 0x07FF4698, 12 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; . 0? &gt; D0 2E 00 08 01 00 00 00 30 3F 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanemanager.cpp(393) : {2363} client block at 0x08003E88, subtype c0, 456 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CXTPDockingPaneTabbedContainer object at $08003E88, 456 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanemanager.cpp(389) : {2360} client block at 0x08003DB0, subtype c0, 152 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $08003DB0, 152 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(149) : {2357} client block at 0x08003D38, subtype c0, 56 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $08003D38, 56 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(147) : {2356} normal block at 0x08003CD8, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(146) : {2355} normal block at 0x08003C78, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(145) : {2354} normal block at 0x08003C18, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">{2353} normal block at 0x07FF7080, 20 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt;X; ; &lt; x&lt; &gt; 58 3B 00 08 B8 3B 00 08 18 3C 00 08 78 3C 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(144) : {2352} normal block at 0x08003BB8, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(143) : {2350} normal block at 0x08003B58, 36 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(142) : {2349} client block at 0x07FFD1E0, subtype c0, 20 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CObject object at $07FFD1E0, 20 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">{2348} normal block at 0x08003AF0, 38 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0A 00 00 00 0A 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">{2347} normal block at 0x08003A98, 28 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 05 00 00 00 05 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(688) : {2346} normal block at 0x08003A28, 48 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt;L&#093; 7 &gt; 4C 5D E6 02 02 00 00 00 00 00 00 00 18 37 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">{2345} normal block at 0x07FFEE38, 20 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt;x8 P9 (: &gt; 78 38 00 08 50 39 00 08 28 3A 00 08 CD CD CD CD </FONT></P><P><FONT face="Courier New, Courier, mono">{2344} normal block at 0x080039C0, 42 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0C 00 00 00 0C 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(687) : {2343} normal block at 0x08003950, 48 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt;$&#093; 7 &gt; 24 5D E6 02 01 00 00 00 01 00 00 00 18 37 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">{2341} normal block at 0x080038E8, 40 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0B 00 00 00 0B 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(686) : {2340} normal block at 0x08003878, 48 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; \ 7 &gt; D4 5C E6 02 00 00 00 00 01 00 00 00 18 37 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(457) : {2339} normal block at 0x07FE1358, 8 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 00 00 00 00 FF FF FF FF </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\tabmanager\xtptabmanager.cpp(684) : {2338} normal block at 0x07FF6168, 12 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt;X 7 &gt; 58 13 FE 07 01 00 00 00 18 37 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanemanager.cpp(393) : {2337} client block at 0x08003670, subtype c0, 456 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CXTPDockingPaneTabbedContainer object at $08003670, 456 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanemanager.cpp(389) : {2334} client block at 0x08003598, subtype c0, 152 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $08003598, 152 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">{2331} normal block at 0x08003530, 38 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0A 00 00 00 0A 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanemanager.cpp(385) : {2330} client block at 0x08003408, subtype c0, 232 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $08003408, 232 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">{2325} normal block at 0x08003240, 38 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; &gt; 84 AB F2 02 0A 00 00 00 0A 00 00 00 01 00 00 00 </FONT></P><P><FONT face="Courier New, Courier, mono">f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {2324} normal block at 0x08002E18, 124 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">Data: &lt; (. 81 &gt; 00 00 00 00 28 2E 00 08 00 00 00 00 38 31 00 08 </FONT></P><P><FONT face="Courier New, Courier, mono">c:\program files\codejock software\mfc\xtreme toolkitpro v11.2.2\source\dockingpane\xtpdockingpanemanager.cpp(385) : {2323} client block at 0x08003118, subtype c0, 232 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $08003118, 232 bytes long</FONT></P><P><FONT face="Courier New, Courier, mono">.\MainFrm.cpp(694) : {2310} client block at 0x08002B70, subtype c0, 136 bytes long.</FONT></P><P><FONT face="Courier New, Courier, mono">a CCmdTarget object at $08002B70, 136 bytes long</FONT></P></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 12 Jun 2008 13:51:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11011&amp;PID=36629&amp;title=set-layout-causes-memory-leaks#36629</guid>
  </item> 
 </channel>
</rss>