<?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 : Crashes/strange behaviour with SaveCommandBars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Crashes/strange behaviour with SaveCommandBars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 23:59:44 +0000</pubDate>
  <lastBuildDate>Tue, 07 Nov 2017 04:14:17 +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=23476</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[Crashes/strange behaviour with SaveCommandBars : Hiolebed, I just tested, but unfortunately...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76257&amp;title=crashes-strange-behaviour-with-savecommandbars#76257</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 23476<br /><strong>Posted:</strong> 07 November 2017 at 4:14am<br /><br />Hi&nbsp;olebed, I just tested, but unfortunately it did not help. I will see whether I can make a sample application to reproduce.]]>
   </description>
   <pubDate>Tue, 07 Nov 2017 04:14:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76257&amp;title=crashes-strange-behaviour-with-savecommandbars#76257</guid>
  </item> 
  <item>
   <title><![CDATA[Crashes/strange behaviour with SaveCommandBars : Hello Fredrik,Can you confirm...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76256&amp;title=crashes-strange-behaviour-with-savecommandbars#76256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23476<br /><strong>Posted:</strong> 07 November 2017 at 1:20am<br /><br /><span style=": rgb248, 248, 252;">Hello Fredrik,<br></span><br>Can you confirm that problem can be solved&nbsp; with this changes ?<br>]]>
   </description>
   <pubDate>Tue, 07 Nov 2017 01:20:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76256&amp;title=crashes-strange-behaviour-with-savecommandbars#76256</guid>
  </item> 
  <item>
   <title><![CDATA[Crashes/strange behaviour with SaveCommandBars : Hello Fredrik,We have fix for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76250&amp;title=crashes-strange-behaviour-with-savecommandbars#76250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23476<br /><strong>Posted:</strong> 03 November 2017 at 8:38pm<br /><br />Hello Fredrik,<br><br>We have fix for similar problem (loading *.XCB files), try to use next changes in<br><div>Source/CommandBars/XTPDockState.cpp</div><div>and recompile library.</div><table width="99%"><tr><td><pre class="BBcode">void CXTPControlComboBox::DoPropExchange(CXTPPropExchange* pPX)<div>{</div><div>&nbsp; &nbsp; CXTPControlPopup::DoPropExchange(pPX);</div><div><br></div><div>&nbsp; &nbsp; PX_Bool(pPX, _T("DropDown"), m_bDropDown, TRUE);</div><div><br></div><div><b><font color="#339900">&nbsp; &nbsp; // The Width property is already serialized in CXTPControl</font></b></div><div><b><font color="#339900">&nbsp; &nbsp; // so in order to avoid double DPI scaling it must not be read twice (ticket 35575),</font></b></div><div><b><font color="#339900">&nbsp; &nbsp; // however the value still must be read out to provide format backward compatibility (ticket 36079).</font></b></div><div><b><font color="#339900">&nbsp; &nbsp; int nUnusedWidth =&nbsp;</font></b><b style="font-family: &quot;Courier New&quot;, Courier, mono;"><font color="#00cc00">m_nWidth</font></b><b><font color="#339900">;</font></b></div><div><b><font color="#339900">&nbsp; &nbsp; PX_DPI_X_Int(pPX, _T("Width"), nUnusedWidth, 0);</font></b></div><div><b><font color="#339900">&nbsp; &nbsp; UNUSED(nUnusedWidth);</font></b></div><div><br></div><div>&nbsp; &nbsp; PX_Enum(pPX, _T("ComboStyle"), m_comboStyle, xtpComboNormal);</div></pre></td></tr></table><br>Fix will be available soon in next release.<br><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Fri, 03 Nov 2017 20:38:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76250&amp;title=crashes-strange-behaviour-with-savecommandbars#76250</guid>
  </item> 
  <item>
   <title><![CDATA[Crashes/strange behaviour with SaveCommandBars : I got some problems with Load/SaveCommandBars()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76242&amp;title=crashes-strange-behaviour-with-savecommandbars#76242</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 23476<br /><strong>Posted:</strong> 01 November 2017 at 3:25pm<br /><br /><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal"><font face="Times New Roman, serif"><span style="font-size: 16px;">I got some problems with Load/SaveCommandBars() after upgrading from 17.3 to 18.0.1:</span></font></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal"><font face="Times New Roman, serif"><span style="font-size: 16px;">I have a ribbon application that opens another window (not a MDI window) with a ribbon. When I close that window and open it again, the ribbon appears to look ok except for if I make the ribbon narrow and look at the group popups – they all display the contents of the first group in the ribbon… Clicking around, the application will crash. If I don’t call SaveCommandBars all seems ok.&nbsp;</span></font></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal"><font face="Times New Roman, serif"><span style="font-size: 16px;">I have similar problem in another ribbon application which also opens a window with ribbon; that window will crash with a heap corruption if you close it. The crash is in void CXTPCommandBars::EnableFrameTheme(BOOL bEnable) where SAFE_DELETE(pFrameHook); is called.</span></font></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal"><font face="Times New Roman, serif"><span style="font-size: 16px;">I just tried to compile with v17.3 and did not have these problems...</span></font></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal"><font face="Times New Roman, serif"><span style="font-size: 16px;">Is this anything you guys know about and are currently fixing?&nbsp;</span></font></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal"><font face="Times New Roman, serif"><span style="font-size: 16px;">Thanks,&nbsp;</span></font></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal"><font face="Times New Roman, serif"><span style="font-size: 16px;">Fredrik</span></font></p>]]>
   </description>
   <pubDate>Wed, 01 Nov 2017 15:25:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23476&amp;PID=76242&amp;title=crashes-strange-behaviour-with-savecommandbars#76242</guid>
  </item> 
 </channel>
</rss>