<?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 : CXTTabView Destructor Heap Corruption</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTTabView Destructor Heap Corruption]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 11:40:33 +0000</pubDate>
  <lastBuildDate>Tue, 05 Oct 2010 19:48:18 +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=17368</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[CXTTabView Destructor Heap Corruption : I did more testing and the heap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17368&amp;PID=60716&amp;title=cxttabview-destructor-heap-corruption#60716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3241">tommyvee</a><br /><strong>Subject:</strong> 17368<br /><strong>Posted:</strong> 05 October 2010 at 7:48pm<br /><br />I did more testing and the heap corruption occurs when I attach a CTreeView-derived class to a CXTPDockingPane pane, so I will start a new topic in the DockingPane forum asking what about attaching a view might cause heap corruption.<div>Thanks in advance for any suggestions,</div><div>Tom</div>]]>
   </description>
   <pubDate>Tue, 05 Oct 2010 19:48:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17368&amp;PID=60716&amp;title=cxttabview-destructor-heap-corruption#60716</guid>
  </item> 
  <item>
   <title><![CDATA[CXTTabView Destructor Heap Corruption : I have an application withCXTTabView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17368&amp;PID=60657&amp;title=cxttabview-destructor-heap-corruption#60657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3241">tommyvee</a><br /><strong>Subject:</strong> 17368<br /><strong>Posted:</strong> 04 October 2010 at 1:04am<br /><br />I have an application with&nbsp;CXTTabView that pops up a window with a "Heap corruption" warning while working through the windows functions after calling the&nbsp;CXTTabView destructor, when exiting from the application.<div><br></div><div>This error occurs in wincore.cpp &nbsp;at line 1033 (Visual Studio 2010 on W7), which is the line</div><div>bResult = ::DestroyWindow(m_hWnd)&nbsp;</div><div>below. At this time, the debugger gives ??? for m_hWnd and for m_pCtrlSite.<br><div><br></div><div><br></div><div>Here is a cut and paste from wincore.cpp showing where the error occurs.</div><div><br></div><div>&nbsp;#ifdef _AFX_NO_OCC_SUPPORT<div><span ="Apple-tab-span" style="white-space:pre">	</span>if (m_hWnd != NULL)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>bResult = ::DestroyWindow(m_hWnd);</div><div>#else //_AFX_NO_OCC_SUPPORT</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if ((m_hWnd != NULL) || (m_pCtrlSite != NULL))</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>if (m_pCtrlSite == NULL)</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>bResult = ::DestroyWindow(m_hWnd);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>else</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>bResult = m_pCtrlSite-&gt;DestroyControl();</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div>#endif //_AFX_NO_OCC_SUPPORT</div></div></div><div><br></div><div>Does anyone have an idea of what might be causing this?</div><div>Ideas about how to do additional debugging are also welcome.</div><div><br></div><div>Thanks,<br>Tom</div>]]>
   </description>
   <pubDate>Mon, 04 Oct 2010 01:04:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17368&amp;PID=60657&amp;title=cxttabview-destructor-heap-corruption#60657</guid>
  </item> 
 </channel>
</rss>