Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   assert error???? (http://www.go4expert.com/forums/assert-error-t9111/)

darshini 1Mar2008 13:15

assert error????
How to solve "Debug Assertion Failled!!!!!!!" error???

in my project,till now i have made some dialogs n all those working properly.....but now in any event,if i wanna display any dialog than its giving assertion failure...
error in MFC file.......File F:\rtm\vcTools\vc7libs\ship\atmfc\src\mfc\winocc.c pp file...

where actuly this path is not existing in my system........
But when i debug this error than it shows the winocc.cpp file.........

there is error in its code....

BOOL CWnd::EnableWindow(BOOL bEnable)
--->error____ ASSERT(::IsWindow(m_hWnd)||(m_pCtrlSite!=NULL));

return ::EnableWindow(m_hWnd,bEnable);
return m_pCtrlSite->EnableWindow(bEnable);

Guide me..how to solve this error????????

shabbir 4Mar2008 11:17

Re: assert error????
Your m_hWnd is not created and so you are getting an ASSERT

soul2soull 7Mar2012 05:39

Re: assert error????
this fis is very simple u MUST instalk nvidia physx even u don't have an nvidia video card

All times are GMT +5.5. The time now is 09:23.