Debug problems [MFC]

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello I´m trying to debug my program and I always get this:

MFCTest.exe: Loaded C:WINDOWSsystem32comdlg32.dll
Second Chance Assertion Failed: File f:ddvctoolsvc7libsshipatlmfcsrcmfcwinctrl1.cpp, Line 39
MFCTest.exe has triggered a breakpoint

I can´t find where the problem comes from I always get a look at the dbgrptt.h header line 89:

_CRTIMP void _cdecl _CrtDbgBreak(
    void
    )
{
    DebugBreak();
}

when I clic continue I get a look at winctrl1.h

void CStatic::DrawItem(LPDRAWITEMSTRUCT)
{
    ASSERT(FALSE);
}



The thread RPC Callback Thread (0x1940) has exited with code 0 (0x0).
Second Chance Assertion Failed: File f:ddvctoolsvc7libsshipatlmfcsrcmfcwinctrl1.cpp, Line 39


In th callstack I only get >    msvcr90d.dll!_CrtDbgBreak()  Line 89    C

I don´t know where to look after the error.



View the full article
 
Back
Top