I amusing DELETE_EXCEPTION(e) in my code but it gives compiler error:
Code:
error C3861: 'DELETE_EXCEPTION': identifier not found
It is originally used in MFC in CArhive::ReadString() function
Code:
        ........
	CATCH(CArchiveException, e)
	{
		if (e && e->m_cause == CArchiveException::endOfFile)
		{
			DELETE_EXCEPTION(e);
			if (nRead == 0)
				return NULL;
		}
		else
		{
			THROW_LAST();
		}
	}
	END_CATCH
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.