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 » Application crashes when exits since upgraded to 2.64 Collapse All
Subject Author Date
Stan Miasnikov Mar 27, 2007 - 12:50 PM

Hi,

I am using version 2.64. My program used to work wth 2.62, but I since recompiled it with 2.64 it started to crash when exiting. I saw in the forum that you have fied something related to this, but it actually used to work (in my case) with older version of the library and now it crashes in both debug and release. There were no changes in our code, the only difference is that I am using a newer verson of the library.

Thanks,

Stan Miasnikov Mar 28, 2007 - 4:08 PM

Thanks.

Well, this did not help, but gave me general idea. I had a CExtTabPageContainerWnd control in one of the dockable frames, so I added this:

void CFilesWnd::OnDestroy()
{
m_wndTab.RemoveAllWndHooks();
CWnd::OnDestroy();
}

and also

CMainFrame::DestroyWindow()
{
m_wndMenuBar.RemoveAllWndHooks();
this->RemoveAllWndHooks();

CFrameWnd::DestroyWindow()
}

and now it seems to work but I need to do more testing.

Just to make sure, I recompiled the same code (without the above changes) with 2.62 and it worked as before, so this issue is related to the changes made after 2.62.

Stan Miasnikov Mar 27, 2007 - 12:55 PM

I basically have now the same problem as described in "CExtHookSink problem Mar 7, 2007 - 6:47 AM ", but I could not find a solution to the problem in this forum yet. It is rather urget...

Technical Support Mar 28, 2007 - 7:08 AM

Please add the following line at the very top of CMainFrame::DestroyWindow() and let us know if the problem persits

m_wndMenuBar.RemoveAllWndHooks();