scalar deleting destructor
-
good afternoon, the app crashed with access violation and "scalar deleting destructor". I think it means there was an explicit call to virtual destructor corrupts stack. But I don't really see when did it happen........ here some part of the code that causing the problem..thanks! bool chrgDlg::charges() { ............... if ( !m_bCanceled ) m_dbANI.MoveNext(); } if (!m_vecBuffer.empty()) { m_binOutfile.append (&m_vecBuffer[0], m_vecBuffer.size()); m_vecBuffer.clear(); } if (!m_binOutfile.empty()) m_binOutfile.sort(); return true; }
-
good afternoon, the app crashed with access violation and "scalar deleting destructor". I think it means there was an explicit call to virtual destructor corrupts stack. But I don't really see when did it happen........ here some part of the code that causing the problem..thanks! bool chrgDlg::charges() { ............... if ( !m_bCanceled ) m_dbANI.MoveNext(); } if (!m_vecBuffer.empty()) { m_binOutfile.append (&m_vecBuffer[0], m_vecBuffer.size()); m_vecBuffer.clear(); } if (!m_binOutfile.empty()) m_binOutfile.sort(); return true; }
USER32! 77e338b0() CDialog::EndDialog(CDialog * const 0x00000000 {CDialog hWnd=???}, int 2) line 580 + 13 bytes CDialog::OnCancel(CDialog * const 0x00000000 {CDialog hWnd=???}) line 709 Run(void * 0x0012f750) line 310 _AfxThreadEntry(void * 0x0012f290) line 112 + 5 bytes SURCHRG! _beginthreadex + 202 bytes KERNEL32! 7c57b388()
-
good afternoon, the app crashed with access violation and "scalar deleting destructor". I think it means there was an explicit call to virtual destructor corrupts stack. But I don't really see when did it happen........ here some part of the code that causing the problem..thanks! bool chrgDlg::charges() { ............... if ( !m_bCanceled ) m_dbANI.MoveNext(); } if (!m_vecBuffer.empty()) { m_binOutfile.append (&m_vecBuffer[0], m_vecBuffer.size()); m_vecBuffer.clear(); } if (!m_binOutfile.empty()) m_binOutfile.sort(); return true; }
Is there any multithread involved.?
-prakash