Just to remember COM_VERIFY
By Chty on Friday, February 1 2008, 08:25 - Permalink
One day, I was disapointed when I couldn't find what COM_VERIFY was in the example code of this XML tutorial.
After few researches, I found the definition here:
#include <atlbase.h>
#define ASSERT(x) ATLASSERT(x)
#if defined _DEBUG
#define COM_VERIFY(x) ASSERT(SUCCEEDED(x))
#else
#define COM_VERIFY(x) ((void)(x))
#endif