CBS_MFC_Exception Class Reference

A class for handling MFC Exception. More...


Detailed Description

A class for handling MFC Exception.

Author:
Dror Otmi
Date:
12.07.2003
Version:
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.

Bitspot AG


Bitspot AG
Rietlistrasse 1
CH-6345 Neuheim

Bitspot AG Logo

Phone:

+41 41 755 11 22

Fax:

+41 41 755 11 31

e-mail:

mail@bitspot.com

Web:

www.bitspot.com