<?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 : XTP 12.0 crash</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : XTP 12.0 crash]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 19:38:25 +0000</pubDate>
  <lastBuildDate>Tue, 20 May 2008 10:27:26 +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=10648</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[XTP 12.0 crash : Hello,  You can call ClearAllItems()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35468&amp;title=xtp-12-0-crash#35468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10648<br /><strong>Posted:</strong> 20 May 2008 at 10:27am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>You can call ClearAllItems() in some CMainFrame::OnDestroy method.</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 10:27:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35468&amp;title=xtp-12-0-crash#35468</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 crash : Hi,   I thinktheclass that cause...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35467&amp;title=xtp-12-0-crash#35467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2402">saruth</a><br /><strong>Subject:</strong> 10648<br /><strong>Posted:</strong> 20 May 2008 at 9:55am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I think&nbsp;the&nbsp;class that cause crash is CXTExcelTabCtrl.</DIV><DIV>&nbsp;</DIV><DIV>The function is : _DeleteItem(int nItem) use to&nbsp; Cleanup by&nbsp; CXTExcelTabCtrl::ClearAllItems()<BR><BR></DIV><DIV>BOOL CXTExcelTabCtrl::_DeleteItem(int nItem)<BR>{</DIV><DIV>&nbsp;const int cItems = (int)m_tcbItems.GetSize();<BR>&nbsp;if (nItem &lt; 0 || nItem &gt;= cItems)<BR>&nbsp;&nbsp;return FALSE;</DIV><DIV>&nbsp;</DIV><DIV>// 20/05/08 :FIX: crash problem<BR>#if 0<BR>&nbsp;// Remove the item from the string arrays.<BR>&nbsp;CWnd *pWndControl = m_tcbItems&#091;nItem&#093;-&gt;pWnd;<BR>&nbsp;if (::IsWindow(pWndControl-&gt;GetSafeHwnd()))<BR>&nbsp;{<BR>&nbsp;&nbsp;pWndControl-&gt;ShowWindow(SW_HIDE);<BR>&nbsp;&nbsp;pWndControl-&gt;SetParent(NULL);<BR>&nbsp;}<BR>#endif</DIV><DIV>&nbsp;</DIV><DIV><BR>&nbsp;SAFE_DELETE(m_tcbItems&#091;nItem&#093;);<BR>&nbsp;m_tcbItems.RemoveAt(nItem);<BR>&nbsp;if (m_tcbItems.GetSize() == 0)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_bManagingViews = false;<BR>&nbsp;}<BR>&nbsp;return TRUE;<BR>}<BR></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>void CXTExcelTabCtrl::ClearAllItems()<BR>{<BR>&nbsp;while (_DeleteItem(0))<BR>&nbsp;{<BR>&nbsp;};<BR>}<BR></DIV><DIV>&nbsp;</DIV><DIV>CXTExcelTabCtrl::~CXTExcelTabCtrl()<BR>{<BR>&nbsp;// Cleanup<BR>&nbsp;ClearAllItems();<BR>&nbsp;FreeButtonIcons();<BR>}</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Now when in comment a piece of code below, <DIV>the crash probkel is not happend again.</DIV></DIV><DIV>&nbsp;</DIV><DIV><DIV>// 20/05/08 :FIX: crash problem<BR>#if 0<BR>&nbsp;// Remove the item from the string arrays.<BR>&nbsp;CWnd *pWndControl = m_tcbItems&#091;nItem&#093;-&gt;pWnd;<BR>&nbsp;if (::IsWindow(pWndControl-&gt;GetSafeHwnd()))<BR>&nbsp;{<BR>&nbsp;&nbsp;pWndControl-&gt;ShowWindow(SW_HIDE);<BR>&nbsp;&nbsp;pWndControl-&gt;SetParent(NULL);<BR>&nbsp;}<BR>#endif</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I hope that the XTP team can&nbsp;clear this soon.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>&nbsp;</DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 09:55:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35467&amp;title=xtp-12-0-crash#35467</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 crash : Try turning off optimizations....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35348&amp;title=xtp-12-0-crash#35348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10648<br /><strong>Posted:</strong> 17 May 2008 at 4:51am<br /><br />Try turning off optimizations. Does that help?]]>
   </description>
   <pubDate>Sat, 17 May 2008 04:51:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35348&amp;title=xtp-12-0-crash#35348</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 crash : Hi; Did you perform a complete...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35338&amp;title=xtp-12-0-crash#35338</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 10648<br /><strong>Posted:</strong> 16 May 2008 at 9:22pm<br /><br />Hi;<DIV>Did you perform a complete rebuild of the whole app in release mode. Sometimes this helped after upgrading the toolkit. </DIV><DIV>Perhaps you should enable debug in release build (create .pdb file). In this case you are able to locate the crash in source code (don't forget the toolkit too).</DIV>]]>
   </description>
   <pubDate>Fri, 16 May 2008 21:22:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35338&amp;title=xtp-12-0-crash#35338</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 crash : Hi mgampi,  Right now the application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35336&amp;title=xtp-12-0-crash#35336</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2402">saruth</a><br /><strong>Subject:</strong> 10648<br /><strong>Posted:</strong> 16 May 2008 at 6:41pm<br /><br />Hi mgampi,<DIV>&nbsp;</DIV><DIV>Right now the application do not crash in debug mode. </DIV><DIV>I hope the XTP team can solve this quickly. </DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 16 May 2008 18:41:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35336&amp;title=xtp-12-0-crash#35336</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 crash : Hi; what happens when you run...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35301&amp;title=xtp-12-0-crash#35301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 10648<br /><strong>Posted:</strong> 16 May 2008 at 6:29am<br /><br />Hi;<DIV>what happens when you run the app in debug mode?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 16 May 2008 06:29:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35301&amp;title=xtp-12-0-crash#35301</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 crash : Hi All,   Ijust update fromXTP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35294&amp;title=xtp-12-0-crash#35294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2402">saruth</a><br /><strong>Subject:</strong> 10648<br /><strong>Posted:</strong> 16 May 2008 at 4:35am<br /><br />Hi All, <DIV>&nbsp;</DIV><DIV>I&nbsp;just update from&nbsp;XTP 11.2.2 to XTP 12.0.</DIV><DIV>&nbsp;</DIV><DIV>The program&nbsp;crash&nbsp;when exit with XTP12.0 and&nbsp;never happened with the previous version. </DIV><DIV>&nbsp;</DIV><DIV>Someone has the same problem ? </DIV><DIV>&nbsp;</DIV><DIV>Crash screen .</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080516_043340_XTP-12-2.JPG" border="0"></DIV><DIV><img src="https://forum.codejock.com/uploads/20080516_043108_XTP12-1.JPG" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Tanks in Advance</DIV><DIV>&nbsp;</DIV><DIV>Saruth</DIV>]]>
   </description>
   <pubDate>Fri, 16 May 2008 04:35:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10648&amp;PID=35294&amp;title=xtp-12-0-crash#35294</guid>
  </item> 
 </channel>
</rss>