Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - 15.1.3 Skinmanager crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

15.1.3 Skinmanager crash

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: 15.1.3 Skinmanager crash
    Posted: 07 September 2011 at 6:25pm
This code worked with XTP 13.4.2.
XTP 15.1.3. In CMainFrame::OnCreate I post a message that does this:
CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)GetCommandBars()->GetAt(0);
if (pRibbonBar)
   pRibbonBar->SetCurSel(2);
CMyDialog dlg(this);
dlg.DoModal();
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.
> mfc100ud.dll!AfxInternalPumpMessage() Line 183 C++
mfc100ud.dll!CWinThread::PumpMessage() Line 900 C++
mfc100ud.dll!AfxPumpMessage() Line 190 + 0xd bytes C++
mfc100ud.dll!CWnd::RunModalLoop(unsigned long dwFlags=4) Line 4767 + 0x5 bytes C++
mfc100ud.dll!CDialog::DoModal() Line 638 + 0xc bytes C++
MyApp.exe!CMainFrame::OnMyMessage(unsigned int __formal=0, unsigned int __formal=0) Line 2186 C++
mfc100ud.dll!CWnd::OnWndMsg(unsigned int message=32773, unsigned int wParam=0, long lParam=0, long * pResult=0x0014f1d4) Line 2383 + 0x11 bytes C++
MyApp.exe!CXTPCommandBarsSiteBase<CFrameWnd>::OnWndMsg(unsigned int message=32773, unsigned int wParam=0, long lParam=0, long * pResult=0x0014f1d4) Line 187 C++
mfc100ud.dll!CWnd::WindowProc(unsigned int message=32773, unsigned int wParam=0, long lParam=0) Line 2087 + 0x20 bytes C++
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++
mfc100ud.dll!AfxWndProc(HWND__ * hWnd=0x0012166e, unsigned int nMsg=32773, unsigned int wParam=0, long lParam=0) Line 420 C++
mfc100ud.dll!AfxWndProcBase(HWND__ * hWnd=0x0012166e, unsigned int nMsg=32773, unsigned int wParam=0, long lParam=0) Line 420 + 0x15 bytes C++
user32.dll!76586238()
user32.dll!765868ea()
user32.dll!76586899()
user32.dll!76590ab0()
user32.dll!76590ad6()
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++
MyApp.exe!CXTPHookManager::HookWndProc(HWND__ * hWnd=0x0012166e, unsigned int message=32773, unsigned int wParam=0, long lParam=0) Line 267 + 0x1c bytes C++
user32.dll!76586238()
user32.dll!765868ea()
user32.dll!76586899()
user32.dll!76587d31()
user32.dll!76587dfa()
mfc100ud.dll!AfxInternalPumpMessage() Line 183 C++
mfc100ud.dll!CWinThread::PumpMessage() Line 900 C++
mfc100ud.dll!CWinThread::Run() Line 629 + 0xd bytes C++
mfc100ud.dll!CWinApp::Run() Line 832 C++
mfc100ud.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00220000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x0166331c, int nCmdShow=1) Line 47 + 0xd bytes C++
MyApp.exe!wWinMain(HINSTANCE__ * hInstance=0x00220000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x0166331c, int nCmdShow=1) Line 26 C++
MyApp.exe!__tmainCRTStartup() Line 547 + 0x2c bytes C
MyApp.exe!wWinMainCRTStartup() Line 371 C
kernel32.dll!76073677()
ntdll.dll!76f69f02()
ntdll.dll!76f69ed5()
PokerMemento - http://www.pokermemento.com/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.