<?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 : 15.1.3 Skinmanager crash</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : 15.1.3 Skinmanager crash]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 16:50:12 +0000</pubDate>
  <lastBuildDate>Wed, 07 Sep 2011 18:25:04 +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=18913</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[15.1.3 Skinmanager crash :   This code worked with XTP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18913&amp;PID=66196&amp;title=15-1-3-skinmanager-crash#66196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 18913<br /><strong>Posted:</strong> 07 September 2011 at 6:25pm<br /><br />This code worked with XTP 13.4.2.<div></div>XTP 15.1.3. In CMainFrame::OnCreate I post a message that does this:<div></div>CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)GetCommandBars()-&gt;GetAt(0);<br>if (pRibbonBar)<br>   &nbsp;&nbsp; <strong>pRibbonBar-&gt;SetCurSel(2);<br></strong><div>CMyDialog dlg(this);</div><div>dlg.DoModal();</div><div> </div><div>When the dialog is dismissed I get a crash, possibly caused by the skin manager. What's up with this tab selection? Commenting that call removes the crash.</div><div> </div><div>&gt; mfc100ud.dll!AfxInternalPumpMessage()  Line 183 C++<br>  mfc100ud.dll!CWinThread::PumpMessage()  Line 900 C++<br>  mfc100ud.dll!AfxPumpMessage()  Line 190 + 0xd bytes C++<br>  mfc100ud.dll!CWnd::RunModalLoop(unsigned long dwFlags=4)  Line 4767 + 0x5 bytes C++<br>  mfc100ud.dll!CDialog::DoModal()  Line 638 + 0xc bytes C++<br>  MyApp.exe!CMainFrame::OnMyMessage(unsigned int __formal=0, unsigned int __formal=0)  Line 2186 C++<br>  mfc100ud.dll!CWnd::OnWndMsg(unsigned int message=32773, unsigned int wParam=0, long lParam=0, long * pResult=0x0014f1d4)  Line 2383 + 0x11 bytes C++<br>  MyApp.exe!CXTPCommandBarsSiteBase&lt;CFrameWnd&gt;::OnWndMsg(unsigned int message=32773, unsigned int wParam=0, long lParam=0, long * pResult=0x0014f1d4)  Line 187 C++<br>  mfc100ud.dll!CWnd::WindowProc(unsigned int message=32773, unsigned int wParam=0, long lParam=0)  Line 2087 + 0x20 bytes C++<br>  mfc100ud.dll!AfxCallWndProc(CWnd * pWnd=0x034ad870, HWND__ * hWnd=0x0012166e, unsigned int nMsg=32773, unsigned int wParam=0, long lParam=0)  Line 257 + 0x1c bytes C++<br>  mfc100ud.dll!AfxWndProc(HWND__ * hWnd=0x0012166e, unsigned int nMsg=32773, unsigned int wParam=0, long lParam=0)  Line 420 C++<br>  mfc100ud.dll!AfxWndProcBase(HWND__ * hWnd=0x0012166e, unsigned int nMsg=32773, unsigned int wParam=0, long lParam=0)  Line 420 + 0x15 bytes C++<br>  user32.dll!76586238()  <br>  user32.dll!765868ea()  <br>  user32.dll!76586899()  <br>  user32.dll!76590ab0()  <br>  user32.dll!76590ad6()  <br>  MyApp.exe!CXTPSkinManagerApiHook::OnHookCallWindowProcW(long (HWND__ *, unsigned int, unsigned int, long)* lpPrevWndFunc=0x51483270, HWND__ * hWnd=0x0012166e, unsigned int Msg=32773, unsigned int wParam=0, long lParam=0)  Line 928 + 0x19 bytes C++<br>  MyApp.exe!CXTPHookManager::HookWndProc(HWND__ * hWnd=0x0012166e, unsigned int message=32773, unsigned int wParam=0, long lParam=0)  Line 267 + 0x1c bytes C++<br>  user32.dll!76586238()  <br>  user32.dll!765868ea()  <br>  user32.dll!76586899()  <br>  user32.dll!76587d31()  <br>  user32.dll!76587dfa()  <br>  mfc100ud.dll!AfxInternalPumpMessage()  Line 183 C++<br>  mfc100ud.dll!CWinThread::PumpMessage()  Line 900 C++<br>  mfc100ud.dll!CWinThread::Run()  Line 629 + 0xd bytes C++<br>  mfc100ud.dll!CWinApp::Run()  Line 832 C++<br>  mfc100ud.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00220000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x0166331c, int nCmdShow=1)  Line 47 + 0xd bytes C++<br>  MyApp.exe!wWinMain(HINSTANCE__ * hInstance=0x00220000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x0166331c, int nCmdShow=1)  Line 26 C++<br>  MyApp.exe!__tmainCRTStartup()  Line 547 + 0x2c bytes C<br>  MyApp.exe!wWinMainCRTStartup()  Line 371 C<br>  kernel32.dll!76073677()  <br>  ntdll.dll!76f69f02()  <br>  ntdll.dll!76f69ed5()  <br></div>]]>
   </description>
   <pubDate>Wed, 07 Sep 2011 18:25:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18913&amp;PID=66196&amp;title=15-1-3-skinmanager-crash#66196</guid>
  </item> 
 </channel>
</rss>