I amusing DELETE_EXCEPTION(e) in my code but it gives compiler error:
It is originally used in MFC in CArhive::ReadString() functionCode:error C3861: 'DELETE_EXCEPTION': identifier not found
I need to clone this function in my application but DELETE_EXCEPTION gives error. I don't know where is it defined and since CArchive::ReadString() already builds, not sure why I am getting this error in the first place? Thanks.Code:........ CATCH(CArchiveException, e) { if (e && e->m_cause == CArchiveException::endOfFile) { DELETE_EXCEPTION(e); if (nRead == 0) return NULL; } else { THROW_LAST(); } } END_CATCH




Reply With Quote