debug assertion failed in our program how to solve it in RRS feed

  • Question

  • void


    AFXAPI AfxAssertValidObject(const CObject* pOb,

    LPCSTR lpszFileName,

    int nLine)



    if (pOb == NULL)


    TRACE(traceAppMsg, 0,

    "ASSERT_VALID fails with NULL pointer.\n");


    if (AfxAssertFailedLine(lpszFileName, nLine))

    AfxDebugBreak();// here cursor show error



    Tuesday, August 17, 2010 10:41 AM


  • Please ask your question in the MSDN Forums:


    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    • Marked as answer by Arthur Xie Thursday, August 19, 2010 7:09 AM
    Tuesday, August 17, 2010 12:42 PM