<?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 : Memory Leaks?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Memory Leaks?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 23:06:42 +0000</pubDate>
  <lastBuildDate>Mon, 18 Sep 2006 09:26:45 +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=5072</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[Memory Leaks? : Thanks! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15798&amp;title=memory-leaks#15798</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2346">martypku</a><br /><strong>Subject:</strong> 5072<br /><strong>Posted:</strong> 18 September 2006 at 9:26am<br /><br />Thanks!]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 09:26:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15798&amp;title=memory-leaks#15798</guid>
  </item> 
  <item>
   <title><![CDATA[Memory Leaks? : yes. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15796&amp;title=memory-leaks#15796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5072<br /><strong>Posted:</strong> 18 September 2006 at 9:05am<br /><br />yes.]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 09:05:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15796&amp;title=memory-leaks#15796</guid>
  </item> 
  <item>
   <title><![CDATA[Memory Leaks? : Did you mean:&amp;#034;Once I create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15791&amp;title=memory-leaks#15791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2346">martypku</a><br /><strong>Subject:</strong> 5072<br /><strong>Posted:</strong> 18 September 2006 at 6:02am<br /><br /><P>Did you mean:"Once I create a CXTPPopupBar and assign it to a popup control, I must release it"?</P>]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 06:02:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15791&amp;title=memory-leaks#15791</guid>
  </item> 
  <item>
   <title><![CDATA[Memory Leaks? : It&amp;#039;s one of exceptional situation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15788&amp;title=memory-leaks#15788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5072<br /><strong>Posted:</strong> 18 September 2006 at 5:09am<br /><br />It's one of exceptional situation in toolkit. because same popup bar can be assigned for different popup controls:<DIV></DIV><DIV>&nbsp;</DIV><DIV>CXTPPopupBar *pBar = (CXTPPopupBar*) CXTPPopupBar::CreatePopupBar(GetCommandBars());<BR><BR>&nbsp;pControlPopup1-&gt;SetCommandBar(pBar);</DIV><DIV>&nbsp;pControlPopup2-&gt;SetCommandBar(pBar);</DIV><DIV>&nbsp;</DIV><DIV>pBar -&gt;InternalRelease();<BR></DIV>]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 05:09:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15788&amp;title=memory-leaks#15788</guid>
  </item> 
  <item>
   <title><![CDATA[Memory Leaks? : Thanks! It works! How can I know...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15786&amp;title=memory-leaks#15786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2346">martypku</a><br /><strong>Subject:</strong> 5072<br /><strong>Posted:</strong> 18 September 2006 at 4:49am<br /><br />Thanks! It works!<DIV>How can I know I must release an object by myself?</DIV>]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 04:49:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15786&amp;title=memory-leaks#15786</guid>
  </item> 
  <item>
   <title><![CDATA[Memory Leaks? : Hi,  After this code add pBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15776&amp;title=memory-leaks#15776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5072<br /><strong>Posted:</strong> 18 September 2006 at 3:53am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>After this code add</DIV><DIV>pBar -&gt;InternalRelease();</DIV>]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 03:53:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15776&amp;title=memory-leaks#15776</guid>
  </item> 
  <item>
   <title><![CDATA[Memory Leaks? : Version:8.7 VC6.0, SP6   I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15768&amp;title=memory-leaks#15768</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2346">martypku</a><br /><strong>Subject:</strong> 5072<br /><strong>Posted:</strong> 17 September 2006 at 10:02pm<br /><br /><P>Version:8.7</P><DIV></DIV>VC6.0, SP6 <DIV>&nbsp;</DIV><DIV>I add the following code to CMainFrame::OnCreate to dynamically add a menu at run-time:</DIV><DIV>&nbsp;</DIV><DIV>CXTPPopupBar *pBar = (CXTPPopupBar*) CXTPPopupBar::CreatePopupBar(GetCommandBars());<BR>&nbsp;CXTPControlPopup * pControlPopup = CXTPControlPopup::CreateControlPopup(xtpControlPopup);<BR>&nbsp;pControlPopup-&gt;SetCommandBar(pBar);<BR>&nbsp;pControlPopup-&gt;SetCaption("Test");<BR>&nbsp;pControlPopup-&gt;SetEnabled(TRUE);<BR>&nbsp;CXTPControl * pControl = GetCommandBars()-&gt;GetMenuBar()-&gt;GetControls()-&gt;Add(pControlPopup, -1, "", -1, FALSE);</DIV><DIV><BR>&nbsp;</DIV><DIV>VC reported memory leaks:</DIV><DIV>a CXTPControls object at $0003EDA0, 64 bytes long</DIV><DIV>a CXTPPopupBar object at $03037260, 408 bytes long</DIV><DIV>&nbsp;</DIV><DIV>What's wrong?</DIV>]]>
   </description>
   <pubDate>Sun, 17 Sep 2006 22:02:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5072&amp;PID=15768&amp;title=memory-leaks#15768</guid>
  </item> 
 </channel>
</rss>