J
Jim Johnson
is this C style coding?
I don't seem to see much C++ code in this way.
is this a bad programming practice?
code seem ugly coding this way.
=================
CATCHERROR(m_Cnn,0)
=================
#define CATCHERROR(ptr,a) catch(_com_error &e)\
{\
ErrorHandler(e,m_ErrStr);\
ptr=NULL;\
return a;\
}
I don't seem to see much C++ code in this way.
is this a bad programming practice?
code seem ugly coding this way.
=================
CATCHERROR(m_Cnn,0)
=================
#define CATCHERROR(ptr,a) catch(_com_error &e)\
{\
ErrorHandler(e,m_ErrStr);\
ptr=NULL;\
return a;\
}