V 1.0 Initial version This class provides an interface between MFC and GSupport’s exceptions. When an application catches an MFC exception it should throw it using this class.
Note:
This class is NOT declared and implemented in the DLL! If an MFC application wants to include this class, it should include the macros:
DECLARE_MFC_EXCEPTION_CLASS( ) respective IMPLEMENT_MFC_EXCEPTION_CLASS( ) or, alternatively
DECLARE_N_IMPLEMENT_MFC_EXCEPTION_CLASS( ). Those macros could be declared in the application main header (also the implementation since the member functions are all inline functions). The reason it is done this way is because GSupport is not an MFC application. MFC applications are linked using MFC in a static library so they could run on systems in which VC++ compiler is not installed. This means that GSupport should be linked this way as well if it uses MFC. Hence, the implementation should be done within the application, since the application knows if it uses MFC or not.