<?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 : Removing docking pane results in a crash</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Removing docking pane results in a crash]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 13:23:48 +0000</pubDate>
  <lastBuildDate>Thu, 11 Jan 2007 02:24:54 +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=6064</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[Removing docking pane results in a crash : Thank you for the fix provided. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19168&amp;title=removing-docking-pane-results-in-a-crash#19168</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6064<br /><strong>Posted:</strong> 11 January 2007 at 2:24am<br /><br />Thank you for the fix provided.]]>
   </description>
   <pubDate>Thu, 11 Jan 2007 02:24:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19168&amp;title=removing-docking-pane-results-in-a-crash#19168</guid>
  </item> 
  <item>
   <title><![CDATA[Removing docking pane results in a crash : Hello,  Yes, sorry, we agree...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19166&amp;title=removing-docking-pane-results-in-a-crash#19166</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6064<br /><strong>Posted:</strong> 11 January 2007 at 2:14am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Yes, sorry, we agree this problem of 10.4 and will fix if for 10.4.1.</DIV><DIV>&nbsp;</DIV><DIV>Please Add to CXTPDockingPaneMiniWnd::FindPane method:</DIV><DIV>&nbsp;</DIV><DIV>if (!m_pTopContainer) return;</DIV><DIV>&nbsp;</DIV><DIV>and rebuild library.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thank you for let us know.</DIV>]]>
   </description>
   <pubDate>Thu, 11 Jan 2007 02:14:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19166&amp;title=removing-docking-pane-results-in-a-crash#19166</guid>
  </item> 
  <item>
   <title><![CDATA[Removing docking pane results in a crash : Using the version 10.4 (currently...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19158&amp;title=removing-docking-pane-results-in-a-crash#19158</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6064<br /><strong>Posted:</strong> 11 January 2007 at 1:13am<br /><br />Using the version 10.4 (currently porting our app from version 10.1, where&nbsp; it was absolutely OK to destroy panes in CMainFrame::OnClose()).<br><br>I get the same crash with exactly the same call stack <b><font color="#0000ff">even in the "PaneSample" sample</font></b>, if I modify the OnClose() handler from<br>this original code:<br><font face="Courier New, Courier, mono">void CMainFrame::OnClose()<br>{<br>&nbsp;&nbsp;&nbsp; // Save the current state for toolbars and menus.<br>&nbsp;&nbsp;&nbsp; SaveCommandBars(_T("CommandBars"));<br>&nbsp;&nbsp;&nbsp; CMDIFrameWnd::OnClose();<br>}</font><br><br>to this modified code:<br><font face="Courier New, Courier, mono">void CMainFrame::OnClose()<br>{<br>&nbsp;&nbsp;&nbsp; // Save the current state for toolbars and menus.<br>&nbsp;&nbsp;&nbsp; SaveCommandBars(_T("CommandBars"));<br></font><font color="#0000ff" face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; m_paneManager.DestroyPane(IDR_PANE2);<br></font><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; CMDIFrameWnd::OnClose();<br>}</font><br><br><br>Run the sample app and before you close it, make sure pane2 is a collapsed floating pane.<br>]]>
   </description>
   <pubDate>Thu, 11 Jan 2007 01:13:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19158&amp;title=removing-docking-pane-results-in-a-crash#19158</guid>
  </item> 
  <item>
   <title><![CDATA[Removing docking pane results in a crash : I encounter the same situation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19155&amp;title=removing-docking-pane-results-in-a-crash#19155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2671">fatbone77</a><br /><strong>Subject:</strong> 6064<br /><strong>Posted:</strong> 10 January 2007 at 10:42pm<br /><br />I encounter the same situation in V10.4. To repeat the problem, just click pin button on any floating pane, then click close button.]]>
   </description>
   <pubDate>Wed, 10 Jan 2007 22:42:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19155&amp;title=removing-docking-pane-results-in-a-crash#19155</guid>
  </item> 
  <item>
   <title><![CDATA[Removing docking pane results in a crash : Hi, What version you have? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19120&amp;title=removing-docking-pane-results-in-a-crash#19120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6064<br /><strong>Posted:</strong> 10 January 2007 at 9:48am<br /><br />Hi,<DIV>What version you have?</DIV>]]>
   </description>
   <pubDate>Wed, 10 Jan 2007 09:48:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19120&amp;title=removing-docking-pane-results-in-a-crash#19120</guid>
  </item> 
  <item>
   <title><![CDATA[Removing docking pane results in a crash :  Hello,I&amp;#039;m using some docking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19115&amp;title=removing-docking-pane-results-in-a-crash#19115</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6064<br /><strong>Posted:</strong> 10 January 2007 at 9:36am<br /><br />Hello,<br><br>I'm using some docking panes in my app and everything works fine until I close the app with some of the panes in a <br>collapsed floating state. For collapsed, floating panes, I get a crash inside <font face="Courier New, Courier, mono">CXTPDockingPaneMiniWnd::FindPane()</font>. Here is the call stack<br>of the crash, beyond <font face="Courier New, Courier, mono">CMainFrame::OnClose()</font>, where I call <font face="Courier New, Courier, mono">DestroyPane()</font>:<br><br>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; <font face="Courier New, Courier, mono">ToolkitPro1040vc80D.dll!CXTPDockingPaneMiniWnd::FindPane(...)&nbsp; Line 491 + 0x19 bytes&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneMiniWnd::OnAction(...)&nbsp; Line 756 + 0x1f bytes&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneMiniWnd::OnPinButtonClick()&nbsp; Line 777 + 0x16 bytes&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneMiniWnd::RemovePane(...)&nbsp; Line 179&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneSplitterContainer::RemovePane(...)&nbsp; Line 448 + 0x3b bytes&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneLayout::_FreeEmptyPanes()&nbsp; Line 685 + 0x22 bytes&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneLayout::DestroyPane(...)&nbsp; Line 962&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneManager::DestroyPane(...)&nbsp; Line 940&nbsp;&nbsp; &nbsp;C++<br>&nbsp;&nbsp;&nbsp; &nbsp;ToolkitPro1040vc80D.dll!CXTPDockingPaneManager::DestroyPane(int nID=4)&nbsp; Line 1127&nbsp;&nbsp; &nbsp;C++</font><br><br>I've found out that it's an 0xc0000005 access violation, because 'm_pTopContainer' is referenced in CXTPDockingPaneMiniWnd::FindPane(),<br>but it has been already set to NULL inside CXTPDockingPaneMiniWnd::RemovePane().<br><br>Where do you think lies the problem?<br><br>Thank you, in advance!<br><br>]]>
   </description>
   <pubDate>Wed, 10 Jan 2007 09:36:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6064&amp;PID=19115&amp;title=removing-docking-pane-results-in-a-crash#19115</guid>
  </item> 
 </channel>
</rss>