<?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 : Memoryleaks?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Memoryleaks?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 06:36:10 +0000</pubDate>
  <lastBuildDate>Mon, 11 Aug 2003 14:34:53 +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=120</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[Memoryleaks? : Thanks for your help. i&amp;#039;ll...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=261&amp;title=memoryleaks#261</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=127">samuli</a><br /><strong>Subject:</strong> 120<br /><strong>Posted:</strong> 11 August 2003 at 2:34pm<br /><br /><P>Thanks for your help. i'll try that tomorrow and let you know if it worked.</P><P>i hope this will help you with your manual updating (no offense, but it's not that "complete" yet, more samples needed, good start though). </P><P>but anyway, great toolkit! i'll probably recommend this to my company, if i'll just get those memoryleaks fixed...</P>]]>
   </description>
   <pubDate>Mon, 11 Aug 2003 14:34:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=261&amp;title=memoryleaks#261</guid>
  </item> 
  <item>
   <title><![CDATA[Memoryleaks? :  Samul. Thanks for sending us...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=260&amp;title=memoryleaks#260</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=105">blindemann</a><br /><strong>Subject:</strong> 120<br /><strong>Posted:</strong> 11 August 2003 at 2:27pm<br /><br /><FONT size=2><P>Samul.</P><P>Thanks for sending us the the code samples which enabled us to find the problem. We have sent you an email but we will answer here also:</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P>1. Remove all code from CMainFrame::~CMainFrame(). it's not necessary.</P><P>2. you must remake source code concerned with Docking Panes. Please see DrawClient sample source.</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P>a) Create Docking Panes in CMainFrame::OnCreate</P><P>b) m_pwndPaneModelProperties and m_wndCoordsGrid must be members of CGStudioView or CMainFrame.</P><P>c) You must call Attach only in XTPWM_DOCKINGPANE_NOTIFY handler.</P></BLOCKQUOTE></BLOCKQUOTE><P dir=ltr>We are also updating our knowledge base to help with the use of Pro and the migration from Standard to Pro.</P><P dir=ltr>Thanks,</P><P dir=ltr>Bob</P></FONT><span style="font-size:10px"><br /><br />Edited by blindemann</span>]]>
   </description>
   <pubDate>Mon, 11 Aug 2003 14:27:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=260&amp;title=memoryleaks#260</guid>
  </item> 
  <item>
   <title><![CDATA[Memoryleaks? : Hi! I&amp;#039;m not using any layout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=258&amp;title=memoryleaks#258</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=127">samuli</a><br /><strong>Subject:</strong> 120<br /><strong>Posted:</strong> 11 August 2003 at 5:12am<br /><br /><P>Hi!</P><P>I'm not using any layout managers. I've managed to debug the leaks to the CommandBars. I really don't know, what i'm doing wrong. I followed the examples how to use command bars, but i still got memoryleaks. I sent the source to your support.</P><P>&nbsp;</P><P>-- samuli</P>]]>
   </description>
   <pubDate>Mon, 11 Aug 2003 05:12:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=258&amp;title=memoryleaks#258</guid>
  </item> 
  <item>
   <title><![CDATA[Memoryleaks? : Hi Samuli, If you are using the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=254&amp;title=memoryleaks#254</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1">kstowell</a><br /><strong>Subject:</strong> 120<br /><strong>Posted:</strong> 09 August 2003 at 10:05am<br /><br /><P>Hi Samuli,</P><P>If you are using the layout manager to save and restore panel layouts,&nbsp;you have free any memory that was allocated by calling "CreateLayout()", if you do not free this memory, you will see memory leaks.&nbsp; Here is an example...</P><P>Allocate a new panel layout:</P><FONT face="Courier New, Courier, mono" color=#008000><FONT color=#0000ff><P><FONT face="Courier New, Courier, mono">int</FONT></FONT><FONT face="Courier New, Courier, mono"><FONT color=#000000> </FONT><FONT color=#0000ff>CMainFrame</FONT><FONT color=#000000>::</FONT><FONT color=#880000>OnCreate</FONT><FONT color=#000000>(</FONT><FONT color=#0000ff>LPCREATESTRUCT</FONT><FONT color=#000000> </FONT><FONT color=#808080>lpCreateStruct</FONT></FONT><FONT face="Courier New, Courier, mono"><FONT color=#000000>)<BR></FONT>{<BR>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>if</FONT> (<FONT color=#0000ff>CMDIFrameWnd</FONT>::<FONT color=#880000>OnCreate</FONT>(<FONT color=#808080>lpCreateStruct</FONT>) == -1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>return</FONT> -1;<BR>&nbsp;&nbsp;&nbsp; ...<BR><BR>&nbsp;&nbsp;&nbsp; <strong>// Allocate memory for panel layout</strong></FONT></FONT><FONT face="Courier New, Courier, mono" color=#008000><strong>.<BR></strong></FONT><FONT face="Courier New, Courier, mono"><strong><FONT color=#808080>&nbsp;&nbsp;&nbsp; m_pRunLayout</FONT> = <FONT color=#880000>GetDockingPaneManager</FONT>()-&gt;<FONT color=#880000>CreateLayout</FONT>();<BR></strong><BR>&nbsp;&nbsp;&nbsp; ...<BR></FONT><FONT color=#0000ff><BR><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; return</FONT></FONT><FONT face="Courier New, Courier, mono"> 0;<BR>}</FONT></P><P>Free the memory allocated for the panel layout:</P><FONT color=#0000ff><P><FONT face="Courier New, Courier, mono">void</FONT></FONT><FONT face="Courier New, Courier, mono"> <FONT color=#0000ff>CMainFrame</FONT>::<FONT color=#880000>OnDestroy</FONT>()<BR>{<BR>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>CMDIFrameWnd</FONT>::<FONT color=#880000>OnDestroy</FONT>();<BR><BR>&nbsp;&nbsp;&nbsp; ...<BR></FONT><FONT face="Courier New, Courier, mono"><strong><FONT color=#0000ff><BR>&nbsp;&nbsp;&nbsp; <FONT color=#008000>// free allocated memory</FONT><BR>&nbsp;&nbsp;&nbsp; delete</FONT> <FONT color=#808080>m_pRunLayout</FONT>;<BR></strong>}</FONT></P><P>Please see the 'PaneSample'&nbsp; for complete implementation details, let&nbsp;us know if this helps.<BR><BR>Cheers,<BR><BR>Kirk Stowell<BR>Codejock Support</P><span style="font-size:10px"><br /><br />Edited by Administrator</span>]]>
   </description>
   <pubDate>Sat, 09 Aug 2003 10:05:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=254&amp;title=memoryleaks#254</guid>
  </item> 
  <item>
   <title><![CDATA[Memoryleaks? : Hi, This is Bob at Codejock support. There...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=248&amp;title=memoryleaks#248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=105">blindemann</a><br /><strong>Subject:</strong> 120<br /><strong>Posted:</strong> 08 August 2003 at 5:53pm<br /><br /><P>Hi,</P><P>This is Bob at Codejock support.</P><P>There should not be any memory leaks. I will pass this information on to the developers and I will get back to you about this. This is a high priority issue. It would be nice if you sent me the project so that we could specifically identify the issue. You can send it to <A href="mailto:support@codejock.com" target="_blank">support@codejock.com</A> and I will get it.</P><P>Thanks,</P><P>Bob</P><span style="font-size:10px"><br /><br />Edited by Administrator</span>]]>
   </description>
   <pubDate>Fri, 08 Aug 2003 17:53:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=248&amp;title=memoryleaks#248</guid>
  </item> 
  <item>
   <title><![CDATA[Memoryleaks? : Hi! I was testing your Xtreme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=243&amp;title=memoryleaks#243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=127">samuli</a><br /><strong>Subject:</strong> 120<br /><strong>Posted:</strong> 07 August 2003 at 1:04am<br /><br /><P>Hi!</P><P>I was testing your Xtreme Toolkit Pro (evaluation version) for Visual Studio 6. I created some toolbars, status bar, and a docking window. Now, when debugging the app, it gives me _alot_ of memory leaks, which definetly comes from your toolkit. Is there any un-initializations or special destructotr which i should call? I tried to look through your samples, but it seemed, that there wasn't any.</P><P>I was thinking to buy a license, but if don't support visual studio 6 (or the toolkit is that buggy), i probably won't...</P><P>Can anyone help?</P>]]>
   </description>
   <pubDate>Thu, 07 Aug 2003 01:04:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=120&amp;PID=243&amp;title=memoryleaks#243</guid>
  </item> 
 </channel>
</rss>