ExtToolControlBar.cpp, line 7014
This happens when open document and change main toolbar in the MDI application. Full stack trace:
mfc71d.dll!AfxAssertValidObject(const CObject * pOb=0x01948798, const char * lpszFileName=0x01032990, int nLine=7014) Line 92 C++
ProfUIS224md.dll!00ddce66()
mfc71d.dll!CWnd::OnWndMsg(unsigned int message=514, unsigned int wParam=0, long lParam=196609, long * pResult=0x00b3fb30) Line 2164 C++
mfc71d.dll!CWnd::WindowProc(unsigned int message=514, unsigned int wParam=0, long lParam=196609) Line 1745 + 0x1e C++
mfc71d.dll!CControlBar::WindowProc(unsigned int nMsg=514, unsigned int wParam=0, long lParam=196609) Line 503 + 0x14 C++
ProfUIS224md.dll!00bd1c98()
ProfUIS224md.dll!00de0a10()
mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x0023c81c, HWND__ * hWnd=0x0085031a, unsigned int nMsg=514, unsigned int wParam=0, long lParam=196609) Line 241 + 0x1a C++
mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x0085031a, unsigned int nMsg=514, unsigned int wParam=0, long lParam=196609) Line 389 C++
mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x0085031a, unsigned int nMsg=514, unsigned int wParam=0, long lParam=196609) Line 209 + 0x15 C++
user32.dll!77d43a50()
user32.dll!77d43b1f()
user32.dll!77d43d79()
user32.dll!77d6669d()
user32.dll!77d43ddf()
user32.dll!77d4b1f5()
user32.dll!77d65906()
mfc71d.dll!CWnd::IsDialogMessageA(tagMSG * lpMsg=0x00053a80) Line 200 C++
mfc71d.dll!CWnd::PreTranslateInput(tagMSG * lpMsg=0x00053a80) Line 4512 C++
ProfUIS224md.dll!00becb48()
mfc71d.dll!CWnd::WalkPreTranslateTree(HWND__ * hWndStop=0x003b037e, tagMSG * pMsg=0x00053a80) Line 3129 + 0x12 C++
mfc71d.dll!AfxInternalPreTranslateMessage(tagMSG * pMsg=0x00053a80) Line 238 + 0x12 C++
mfc71d.dll!CWinThread::PreTranslateMessage(tagMSG * pMsg=0x00053a80) Line 795 + 0x9 C++
mfc71d.dll!AfxPreTranslateMessage(tagMSG * pMsg=0x00053a80) Line 257 + 0xf C++
mfc71d.dll!AfxInternalPumpMessage() Line 183 + 0x18 C++
mfc71d.dll!CWinThread::PumpMessage() Line 916 C++
mfc71d.dll!CWinThread::Run() Line 637 + 0xb C++
mfc71d.dll!CWinApp::Run() Line 701 C++
mfc71d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00051f0d, int nCmdShow=1) Line 49 + 0xb C++
ERStudio.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00051f0d, int nCmdShow=1) Line 25 C++
ERStudio.exe!WinMainCRTStartup() Line 390 + 0x39 C
kernel32.dll!77e814c7()
Code that changes the toolbar is located in the message handler of CMainFrame (sent by PostMessage):
m_wndToolBar.LoadToolBar(bEnable ? IDR_ERStudioTYPE : IDR_MAINFRAME);
RecalcLayout();
Any ideas how can I avoid it? I am using trial of Prof_UIS, so I cannot find the reason myself.