Receiving an ASSERT failure in wincore.cpp
-
When running my .exe, which is dialog based, I receive an abort message and it won't let me debug the program. It just basically leads me to exit the program. I receive a location of 0x008a56a9 and when I click on the error dialog box, it leads me to wincore.cpp at the following function and location: [pre]BOOL CWnd::Attach(HWND hWndNew) { ASSERT(m_hWnd == NULL); // only attach once, detach on destroy ASSERT(FromHandlePermanent(hWndNew) == NULL); [/pre] Can someone lead me in a good direction to see where this program is really crashing? Thanks.
John P.
-
When running my .exe, which is dialog based, I receive an abort message and it won't let me debug the program. It just basically leads me to exit the program. I receive a location of 0x008a56a9 and when I click on the error dialog box, it leads me to wincore.cpp at the following function and location: [pre]BOOL CWnd::Attach(HWND hWndNew) { ASSERT(m_hWnd == NULL); // only attach once, detach on destroy ASSERT(FromHandlePermanent(hWndNew) == NULL); [/pre] Can someone lead me in a good direction to see where this program is really crashing? Thanks.
John P.
Can you more explain about your project?