Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Assert in application exit using any Office2007 theme Collapse All
Subject Author Date
Scott Moore Apr 3, 2008 - 12:18 PM

I generated a basic SDI Prof UI wizard application, using 3 control bars (empty, dialog and edit).  The view class was derived from CHtmlView.  The initial theme was CExtPaintManagerXP.  Everything works fine in that configuration.  But if I change to any CExtPaintManagerOffice2007* theme, the application asserts on exit with the following callstack.  I’ve tried deleting all saved registry settings, but that didn’t help.


Is there a fix for this?


 


 


>    mfc80ud.dll!CObject::IsKindOf(const CRuntimeClass * pClass=0x782e6760)  Line 45 + 0x8 bytes    C++

     mfc80ud.dll!CFrameWnd::GetActiveView()  Line 1180 + 0x20 bytes    C++

     ProfUIS282ud.dll!CExtControlBar::FindPrintPreviewMode(CFrameWnd * pFrame=0x02039c70)  Line 20837 + 0x8 bytes    C++

     ProfUIS282ud.dll!CExtControlBar::IsOleIpObjActive(CFrameWnd * pFrameSearch=0x02039c70)  Line 11516 + 0x9 bytes    C++

     ProfUIS282ud.dll!CExtNcFrameImpl::NcFrameImpl_IsSupported()  Line 1386 + 0xf bytes    C++

     NwInvestigatorD.exe!CExtNCW<CFrameWnd>::WindowProc(unsigned int message=130, unsigned int wParam=0, long lParam=0)  Line 401 + 0x19 bytes    C++

     mfc80ud.dll!AfxCallWndProc(CWnd * pWnd=0x02039c70, HWND__ * hWnd=0x001b1208, unsigned int nMsg=130, unsigned int wParam=0, long lParam=0)  Line 240 + 0x1c bytes    C++

     mfc80ud.dll!AfxWndProc(HWND__ * hWnd=0x001b1208, unsigned int nMsg=130, unsigned int wParam=0, long lParam=0)  Line 389    C++

     mfc80ud.dll!AfxWndProcBase(HWND__ * hWnd=0x001b1208, unsigned int nMsg=130, unsigned int wParam=0, long lParam=0)  Line 411 + 0x15 bytes    C++

     user32.dll!7e418734()    

     [Frames below may be incorrect and/or missing, no symbols loaded for user32.dll]   

     user32.dll!7e41d05b()    

     user32.dll!7e41b4c0()    

     user32.dll!7e41dabd()    

     ntdll.dll!7c90eae3()    

     user32.dll!7e41daf6()    

     mfc80ud.dll!CWnd::DestroyWindow()  Line 993 + 0xd bytes    C++

     NwInvestigatorD.exe!CMainFrame::DestroyWindow()  Line 368    C++

     mfc80ud.dll!CDocument::OnCloseDocument()  Line 749    C++

     mfc80ud.dll!CDocTemplate::CloseAllDocuments(int __formal=0)  Line 355    C++

     mfc80ud.dll!CDocManager::CloseAllDocuments(int bEndSession=0)  Line 588    C++

     mfc80ud.dll!CWinApp::CloseAllDocuments(int bEndSession=0)  Line 90    C++

     mfc80ud.dll!CFrameWnd::OnClose()  Line 802    C++

     mfc80ud.dll!CWnd::OnWndMsg(unsigned int message=16, unsigned int wParam=0, long lParam=0, long * pResult=0x0012e3b4)  Line 2028    C++

     mfc80ud.dll!CWnd::WindowProc(unsigned int message=16, unsigned int wParam=0, long lParam=0)  Line 1741 + 0x20 bytes    C++

     NwInvestigatorD.exe!CExtNCW<CFrameWnd>::WindowProc(unsigned int message=16, unsigned int wParam=0, long lParam=0)  Line 407 + 0x14 bytes    C++

     mfc80ud.dll!AfxCallWndProc(CWnd * pWnd=0x02039c70, HWND__ * hWnd=0x001b1208, unsigned int nMsg=16, unsigned int wParam=0, long lParam=0)  Line 240 + 0x1c bytes    C++

     mfc80ud.dll!AfxWndProc(HWND__ * hWnd=0x001b1208, unsigned int nMsg=16, unsigned int wParam=0, long lParam=0)  Line 389    C++

     mfc80ud.dll!AfxWndProcBase(HWND__ * hWnd=0x001b1208, unsigned int nMsg=16, unsigned int wParam=0, long lParam=0)  Line 411 + 0x15 bytes    C++

     user32.dll!7e418734()    

     user32.dll!7e418816()    

     user32.dll!7e41c63f()    

     user32.dll!7e41c665()    

     ProfUIS282ud.dll!CExtHookSink::HookChains_t::HookChainsWindowProc(unsigned int nMessage=16, unsigned int & wParam=0, long & lParam=0)  Line 236 + 0x20 bytes    C++

     ProfUIS282ud.dll!CExtHookSink::HookChains_t::g_HookWndProc(HWND__ * hWnd=0x001b1208, unsigned int nMessage=16, unsigned int wParam=0, long lParam=0)  Line 300 + 0x14 bytes    C++

     user32.dll!7e418734()    

     user32.dll!7e418816()    

     user32.dll!7e41b4c0()    

     user32.dll!7e41b50c()    

     ntdll.dll!7c90eae3()    

     user32.dll!7e4194be()    

     user32.dll!7e41b42d()    

     user32.dll!7e4184fc()    

     user32.dll!7e41ba0e()    

     user32.dll!7e4184fc()    

     user32.dll!7e4185a4()    

     user32.dll!7e41b3f9()    

     uxtheme.dll!5ad73c20()    

     uxtheme.dll!5ad8e300()    

     uxtheme.dll!5ad71ac7()    

     uxtheme.dll!5ad71b3d()    

     uxtheme.dll!5ad8e2d5()    

     user32.dll!7e41bb15()    

     user32.dll!7e418734()    

     user32.dll!7e418816()    

     user32.dll!7e41c63f()    

     user32.dll!7e41c665()    

     mfc80ud.dll!CWnd::DefWindowProcW(unsigned int nMsg=274, unsigned int wParam=61536, long lParam=0)  Line 1029 + 0x20 bytes    C++

     mfc80ud.dll!CWnd::Default()  Line 274    C++

     mfc80ud.dll!CWnd::OnSysCommand(unsigned int __formal=61536, unsigned int __formal=61536)  Line 460 + 0xf bytes    C++

     mfc80ud.dll!CFrameWnd::OnSysCommand(unsigned int nID=61536, long lParam=0)  Line 1046    C++

     mfc80ud.dll!CWnd::OnWndMsg(unsigned int message=274, unsigned int wParam=61536, long lParam=0, long * pResult=0x0012ec7c)  Line 2056    C++

     mfc80ud.dll!CWnd::WindowProc(unsigned int message=274, unsigned int wParam=61536, long lParam=0)  Line 1741 + 0x20 bytes    C++

     NwInvestigatorD.exe!CExtNCW<CFrameWnd>::WindowProc(unsigned int message=274, unsigned int wParam=61536, long lParam=0)  Line 407 + 0x14 bytes    C++

     mfc80ud.dll!AfxCallWndProc(CWnd * pWnd=0x02039c70, HWND__ * hWnd=0x001b1208, unsigned int nMsg=274, unsigned int wParam=61536, long lParam=0)  Line 240 + 0x1c bytes    C++

     mfc80ud.dll!AfxWndProc(HWND__ * hWnd=0x001b1208, unsigned int nMsg=274, unsigned int wParam=61536, long lParam=0)  Line 389    C++

     mfc80ud.dll!AfxWndProcBase(HWND__ * hWnd=0x001b1208, unsigned int nMsg=274, unsigned int wParam=61536, long lParam=0)  Line 411 + 0x15 bytes    C++

     user32.dll!7e418734()    

     user32.dll!7e418816()    

     user32.dll!7e41c63f()    

     user32.dll!7e41c665()    

     ProfUIS282ud.dll!CExtHookSink::HookChains_t::HookChainsWindowProc(unsigned int nMessage=274, unsigned int & wParam=61536, long & lParam=0)  Line 236 + 0x20 bytes    C++

     ProfUIS282ud.dll!CExtHookSink::HookChains_t::g_HookWndProc(HWND__ * hWnd=0x001b1208, unsigned int nMessage=274, unsigned int wParam=61536, long lParam=0)  Line 300 + 0x14 bytes    C++

     user32.dll!7e418734()    

     user32.dll!7e418816()    

     user32.dll!7e41b89b()    

     user32.dll!7e41b903()    

     mfc80ud.dll!CWnd::SendMessageW(unsigned int message=274, unsigned int wParam=61536, long lParam=0)  Line 42 + 0x42 bytes    C++

     ProfUIS282ud.dll!CExtNcFrameImpl::NcFrameImpl_PreWindowProc(long & lResult=0, unsigned int message=514, unsigned int wParam=0, long lParam=-850788)  Line 2928    C++

     NwInvestigatorD.exe!CExtNCW<CFrameWnd>::WindowProc(unsigned int message=514, unsigned int wParam=0, long lParam=-850788)  Line 405 + 0x29 bytes    C++

     mfc80ud.dll!AfxCallWndProc(CWnd * pWnd=0x02039c70, HWND__ * hWnd=0x001b1208, unsigned int nMsg=514, unsigned int wParam=0, long lParam=-850788)  Line 240 + 0x1c bytes    C++

     mfc80ud.dll!AfxWndProc(HWND__ * hWnd=0x001b1208, unsigned int nMsg=514, unsigned int wParam=0, long lParam=-850788)  Line 389    C++

     mfc80ud.dll!AfxWndProcBase(HWND__ * hWnd=0x001b1208, unsigned int nMsg=514, unsigned int wParam=0, long lParam=-850788)  Line 411 + 0x15 bytes    C++

     user32.dll!7e418734()    

     user32.dll!7e418816()    

     user32.dll!7e41c63f()    

     user32.dll!7e41c665()    

     ProfUIS282ud.dll!CExtHookSink::HookChains_t::HookChainsWindowProc(unsigned int nMessage=514, unsigned int & wParam=0, long & lParam=-850788)  Line 236 + 0x20 bytes    C++

     ProfUIS282ud.dll!CExtHookSink::HookChains_t::g_HookWndProc(HWND__ * hWnd=0x001b1208, unsigned int nMessage=514, unsigned int wParam=0, long lParam=-850788)  Line 300 + 0x14 bytes    C++

     user32.dll!7e418734()    

     user32.dll!7e418816()    

     user32.dll!7e4189cd()    

     user32.dll!7e418a10()    

     mfc80ud.dll!AfxInternalPumpMessage()  Line 183    C++

     mfc80ud.dll!CWinThread::PumpMessage()  Line 896    C++

     mfc80ud.dll!CWinThread::Run()  Line 625 + 0xd bytes    C++

     mfc80ud.dll!CWinApp::Run()  Line 894    C++

     mfc80ud.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x00020806, int nCmdShow=1)  Line 47 + 0xd bytes    C++

     NwInvestigatorD.exe!wWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x00020806, int nCmdShow=1)  Line 33    C++

     NwInvestigatorD.exe!__tmainCRTStartup()  Line 589 + 0x35 bytes    C

     NwInvestigatorD.exe!wWinMainCRTStartup()  Line 414    C

     kernel32.dll!7c816fd7()    

     ProfUIS282ud.dll!CExtGridCellUpDownColorPart::OnPopupListBoxItemDraw(CExtPopupInplaceListBox & wndListBox={...}, CExtGridCell::TrackCellStateInfo_t & _tcsi={...}, tagDRAWITEMSTRUCT * pDIS=0x00650076)  Line 40866 + 0x2d bytes    C++

     ProfUIS282ud.dll!CExtGridCellUpDownColorPart::OnPopupListBoxItemDraw(CExtPopupInplaceListBox & wndListBox={...}, CExtGridCell::TrackCellStateInfo_t & _tcsi={...}, tagDRAWITEMSTRUCT * pDIS=0x0061004d)  Line 40866 + 0x2d bytes    C++

     ProfUIS282ud.dll!CExtGridCellUpDownColorPart::OnPopupListBoxItemDraw(CExtPopupInplaceListBox & wndListBox={...}, CExtGridCell::TrackCellStateInfo_t & _tcsi={...}, tagDRAWITEMSTRUCT * pDIS=0xe8ffffff)  Line 40866 + 0x2d bytes    C++

Technical Support Apr 9, 2008 - 12:39 PM

If you have view windows inside control bars and they are attached to some frame windows, then you may need to reset the active view window by invoking SetActiveView( NULL ) at the beginning of the CMainFrame::DestroyWindow() method.