ich hab hier einen ganz netten Fehler, und ich komm uns verrecken nicht auf die Lösung.
Debug Assertion Failed!
Program: <mein Programmpfad>
File: dbgheap.c
Line: 1109
Expression: _pFirstBlock == pHeap
Das Ganze passiert am Ende ( also beim } ) einer Funktion.
Soweit ich jetzt schon bei google und der Hilfe von VC++ 6 rausfinden konnte ist
das wohl irgendein Memory Problem, also hier mal ein Stack Trace, vielleicht
sagt das einem von euch was...
_free_dbg_lk(void * 0x00982460, int 1) line 1109 + 43 bytes _free_dbg(void * 0x00982460, int 1) line 1001 + 13 bytes operator delete(void * 0x00982460) line 351 + 11 bytes CString::FreeData() line 146 + 15 bytes CString::~CString() line 213 CString::`scalar deleting destructor'(unsigned int 0) + 15 bytes DestructElement(CString * 0x009824c4 {"Heinz-Dieter Nieschke"}) line 54 DestructElements(CString * 0x009824c4 {"Heinz-Dieter Nieschke"}, int 24) line 56 + 9 bytes CStringArray::~CStringArray() line 86 + 19 bytes clsMain::OnDrucken_Click() line 1971 + 130 bytes _AfxDispatchCmdMsg(CCmdTarget * 0x0013ee54 {clsMain}, unsigned int 1071, int 0, void (void)* 0x00401028 clsMain::OnDrucken_Click(void), void * 0x00000000, unsigned int 12, AFX_CMDHANDLERINFO * 0x00000000) line 88 CCmdTarget::OnCmdMsg(unsigned int 1071, int 0, void * 0x00000000, AFX_CMDHANDLERINFO * 0x00000000) line 302 + 39 bytes CDialog::OnCmdMsg(unsigned int 1071, int 0, void * 0x00000000, AFX_CMDHANDLERINFO * 0x00000000) line 97 + 24 bytes CWnd::OnCommand(unsigned int 1071, long 395006) line 2099 CWnd::OnWndMsg(unsigned int 273, unsigned int 1071, long 395006, long * 0x0013e8dc) line 1608 + 28 bytes CWnd::WindowProc(unsigned int 273, unsigned int 1071, long 395006) line 1596 + 30 bytes AfxCallWndProc(CWnd * 0x0013ee54 {clsMain hWnd=?}, HWND__ * 0x000805e0, unsigned int 273, unsigned int 1071, long 395006) line 215 + 26 bytes AfxWndProc(HWND__ * 0x000805e0, unsigned int 273, unsigned int 1071, long 395006) line 379 USER32! 77d18734() USER32! 77d18816() USER32! 77d1b89b() USER32! 77d1b903() USER32! 77d4fc7d() USER32! 77d464e8() USER32! 77d277de() USER32! 77d3b05a() USER32! 77d18734() USER32! 77d18816() USER32! 77d189cd() USER32! 77d18a10() USER32! 77d2e097() USER32! 77d3c6ab() CWnd::IsDialogMessageA(tagMSG * 0x00619b2c {msg=0x00000202 wp=0x00000000 lp=0x00160028}) line 182 CWnd::PreTranslateInput(tagMSG * 0x00619b2c {msg=0x00000202 wp=0x00000000 lp=0x00160028}) line 3435 CDialog::PreTranslateMessage(tagMSG * 0x00619b2c {msg=0x00000202 wp=0x00000000 lp=0x00160028}) line 92 CWnd::WalkPreTranslateTree(HWND__ * 0x000805e0, tagMSG * 0x00619b2c {msg=0x00000202 wp=0x00000000 lp=0x00160028}) line 2678 + 18 bytes CWinThread::PreTranslateMessage(tagMSG * 0x00619b2c {msg=0x00000202 wp=0x00000000 lp=0x00160028}) line 672 + 18 bytes CWinThread::PumpMessage() line 848 + 30 bytes CWnd::RunModalLoop(unsigned long 4) line 3489 + 19 bytes CDialog::DoModal() line 539 + 12 bytes CCheshireMFCApp::InitInstance() line 122 + 11 bytes AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00151f2e, int 1) line 39 + 11 bytes WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00151f2e, int 1) line 30 WinMainCRTStartup() line 198 + 54 bytes KERNEL32! 7c816d4f()
d00p