<?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 : CXTPCommandBars::InternalRelease Crash (12.0.1)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPCommandBars::InternalRelease Crash (12.0.1)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 06:14:23 +0000</pubDate>
  <lastBuildDate>Thu, 10 Jul 2008 05:32:02 +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=11360</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[CXTPCommandBars::InternalRelease Crash (12.0.1) : Hello,  Just tried same code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38097&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38097</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11360<br /><strong>Posted:</strong> 10 July 2008 at 5:32am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Just tried same code with new project - works fine.</DIV><DIV>&nbsp;</DIV><DIV>Can you try reproduce it with new appliation also and attach it here.</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 05:32:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38097&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38097</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCommandBars::InternalRelease Crash (12.0.1) : Here is the stack. CToolsDialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38085&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4300">gautambjain</a><br /><strong>Subject:</strong> 11360<br /><strong>Posted:</strong> 10 July 2008 at 2:25am<br /><br /><br>Here is the stack. CToolsDialog is the dialog box that shows the menu immediately on running the program (without any user interaction).<br><br><table width="99%"><tr><td><pre class="BBcode"><br>mfc90d.dll!CCmdTarget::OnFinalRelease()&nbsp; Line 579 + 0x21 bytes C++<br>mfc90d.dll!CCmdTarget::InternalRelease()&nbsp; Line 175&nbsp;&nbsp; &nbsp;C++<br>PikyBasket.exe!CToolsDialog::ShowToolsMenu()&nbsp; Line 307&nbsp;&nbsp; &nbsp;C++<br>PikyBasket.exe!CPikyBasketApp::InitInstance()&nbsp; Line 167&nbsp;&nbsp; &nbsp;C++<br>mfc90d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f15, int nCmdShow=1)&nbsp; Line 37 + 0xd bytes&nbsp;&nbsp; &nbsp;C++<br>PikyBasket.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f15, int nCmdShow=1)&nbsp; Line 30&nbsp;&nbsp; &nbsp;C++<br>PikyBasket.exe!__tmainCRTStartup()&nbsp; Line 574 + 0x35 bytes&nbsp;&nbsp; &nbsp;C<br>PikyBasket.exe!WinMainCRTStartup()&nbsp; Line 399&nbsp;&nbsp; &nbsp;C<br></pre></td></tr></table><br><br><br>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 02:25:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38085&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38085</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCommandBars::InternalRelease Crash (12.0.1) : Hi,  Code looks good. Can you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38059&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38059</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11360<br /><strong>Posted:</strong> 09 July 2008 at 12:18pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Code looks good.&nbsp;&nbsp;&nbsp; Can you show whole call stack of crush.</DIV>]]>
   </description>
   <pubDate>Wed, 09 Jul 2008 12:18:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38059&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38059</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCommandBars::InternalRelease Crash (12.0.1) :  Hello Dear Support &amp;amp; Members,I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38043&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4300">gautambjain</a><br /><strong>Subject:</strong> 11360<br /><strong>Posted:</strong> 09 July 2008 at 7:43am<br /><br /><br>Hello Dear Support &amp; Members,<br><br>I have been using older versions of XTP (9.6) which worked fine for the below code.<br><br>Yesterday I tried XTP version 12.0.1 and it crashes on CXTPCommandBars::InternalRelease call below.<br><br>Please help.<br><br><table width="99%"><tr><td><pre class="BBcode"><br>CXTPCommandBars* pCommandBars = (CXTPCommandBars*)CXTPCommandBars::CreateObject();<br>&nbsp;&nbsp; &nbsp;if (pCommandBars)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pCommandBars-&gt;SetSite(this);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pCommandBars-&gt;SetPaintManager(new CXTPOffice2003Theme());<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;CXTPPopupBar* pPopupBar = CXTPPopupBar::CreatePopupBar(pCommandBars);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pPopupBar-&gt;LoadMenu(pSubMenu);<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (pPopupBar)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; pCommandBars-&gt;TrackPopupMenu(pPopupBar,&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; TPM_RETURNCMD|TPM_VCENTERALIGN|TPM_LEFTALIGN|TPM_LEFTBUTTON, posScreen.x, posScreen.y, this)<br>}<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPopupBar-&gt;InternalRelease();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">pCommandBars-&gt;InternalRelease();<b> //CRASHES HERE</b></font><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <br>&nbsp;&nbsp; } <br><br></pre></td></tr></table><br><br><br>]]>
   </description>
   <pubDate>Wed, 09 Jul 2008 07:43:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11360&amp;PID=38043&amp;title=cxtpcommandbarsinternalrelease-crash-12-0-1#38043</guid>
  </item> 
 </channel>
</rss>