<?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 : DEBUG build crash in ~CXTThemeManager()</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : DEBUG build crash in ~CXTThemeManager()]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 02:14:57 +0000</pubDate>
  <lastBuildDate>Thu, 27 Jan 2011 03:45:01 +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=6418</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[DEBUG build crash in ~CXTThemeManager() : Hi,This ASSERT shows that something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=62323&amp;title=debug-build-crash-in-cxtthememanager#62323</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6418<br /><strong>Posted:</strong> 27 January 2011 at 3:45am<br /><br />Hi,<div><br></div><div>This ASSERT shows that something wrong. - that ThemeManager is destroyed now, but you still have some button/control that exists. most easy way is to check what value m_pHead is - it will show what Factory is not destroyed.</div><div><br></div><div>Most easy scenario to reproduce it is to create CXTButton dynamically (pButton = new CXTButton()) and never delete it.</div>]]>
   </description>
   <pubDate>Thu, 27 Jan 2011 03:45:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=62323&amp;title=debug-build-crash-in-cxtthememanager#62323</guid>
  </item> 
  <item>
   <title><![CDATA[DEBUG build crash in ~CXTThemeManager() : One additional comment: I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=62316&amp;title=debug-build-crash-in-cxtthememanager#62316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 6418<br /><strong>Posted:</strong> 26 January 2011 at 11:53am<br /><br />One additional comment: I don't know why there is an ASSERT there, becuase the line after deletes all the theme objects anyway. Maybe a TRACE would have been better.]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 11:53:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=62316&amp;title=debug-build-crash-in-cxtthememanager#62316</guid>
  </item> 
  <item>
   <title><![CDATA[DEBUG build crash in ~CXTThemeManager() : No, and it happens sometimes,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=62315&amp;title=debug-build-crash-in-cxtthememanager#62315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 6418<br /><strong>Posted:</strong> 26 January 2011 at 11:50am<br /><br />No, and it happens sometimes, not other times.]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 11:50:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=62315&amp;title=debug-build-crash-in-cxtthememanager#62315</guid>
  </item> 
  <item>
   <title><![CDATA[DEBUG build crash in ~CXTThemeManager() : Have you solved the problem? How...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=61651&amp;title=debug-build-crash-in-cxtthememanager#61651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6505">yangyanglei</a><br /><strong>Subject:</strong> 6418<br /><strong>Posted:</strong> 01 December 2010 at 11:29pm<br /><br /><P>Have you <SPAN id=result_ lang=en =short_text><SPAN title="" Yc="Soluti&#111;n" Xc="解决" closure_uid_hvydds="53">solved the problem? How make it ?</P></SPAN></SPAN>]]>
   </description>
   <pubDate>Wed, 01 Dec 2010 23:29:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=61651&amp;title=debug-build-crash-in-cxtthememanager#61651</guid>
  </item> 
  <item>
   <title><![CDATA[DEBUG build crash in ~CXTThemeManager() : Hi, It means that you forget...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=20446&amp;title=debug-build-crash-in-cxtthememanager#20446</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6418<br /><strong>Posted:</strong> 15 February 2007 at 1:13am<br /><br />Hi,<DIV>It means that you forget to destroy some object that use Themes - maybe button? Check what <FONT face="Courier New">m_factoryList.m_pHead is, when it will appear.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 15 Feb 2007 01:13:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=20446&amp;title=debug-build-crash-in-cxtthememanager#20446</guid>
  </item> 
  <item>
   <title><![CDATA[DEBUG build crash in ~CXTThemeManager() : Often, when our App exits (debug...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=20425&amp;title=debug-build-crash-in-cxtthememanager#20425</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 6418<br /><strong>Posted:</strong> 14 February 2007 at 12:09pm<br /><br /><P>Often, when our App exits (debug build), I get an Access Violation crash in XTThemeManager.&nbsp;The ASSERT fails in the destructor. Is this a known issue and is there a fix?&nbsp;See code pasted below:</P><DIV><FONT face="Courier New, Courier, mono">CXTThemeManager::~CXTThemeManager()<BR>{<BR>&nbsp;POSITION pos = m_mapDefaultFactories.GetStartPosition();<BR>&nbsp;void* pThemeFactoryClass;<BR>&nbsp;CXTThemeManagerStyleFactory* pFactory = 0;<BR>&nbsp;while (pos)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_mapDefaultFactories.GetNextAssoc(pos, pThemeFactoryClass, (void *&amp;)pFactory);<BR>&nbsp;&nbsp;SAFE_DELETE(pFactory);<BR>&nbsp;}</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;ASSERT(m_factoryList.m_pHead == 0);<BR>&nbsp;m_factoryList.RemoveAll();<BR>}<BR></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 14 Feb 2007 12:09:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6418&amp;PID=20425&amp;title=debug-build-crash-in-cxtthememanager#20425</guid>
  </item> 
 </channel>
</rss>