Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DLL Export Macros
[OOFILE macrosMS Windows Specific]


Detailed Description

OOF..._EXPORT macros are used to export/import classes or functions to/from DLL
if DLL is created, the OOF..._CREATE_DLL must be set on
if DLL is used, the OOF..._USE_DLL must be set on
if DLL is not used (so static library OOF...LIB.LIB is linked or created) both macros
(OOF..._CREATE_DLL and OOF..._USE_DLL) must be set off; OOF..._EXPORT will be expanded to an empty string
on non-Windows platforms, the OOF..._EXPORT macros will be expanded to an empty string
.

'OOF...' prefix stands for OOFILE, OOFGRAPH or OOFREP
Todo:
check if need to define these for MacOS/X or other Unix dynamic linking
use \ingroup oofExportMacros to include items in this group


Defines

#define OOFILE_CREATE_DLL
 OOFILE database & general classes will be linked in a DLL.

#define OOFREP_CREATE_DLL
 Report-writer classes will be linked in a DLL.

#define OOFGRAPH_CREATE_DLL
 Graph classes will be linked in a DLL.

#define OOFMFC_STATIC
 MFC classes will NOT be linked in a DLL.

#define OOFILE_EXPORT
 Prefix for OOFILE database & general classes to enable optional DLL linking.

#define OOFREP_EXPORT
 Prefix for report writer classes to enable optional DLL linking.

#define OOFGRAPH_EXPORT
 Prefix for graph classes to enable optional DLL linking.

#define OOFGUI_EXPORT
 Prefix for MFC GUI classes to enable optional DLL linking.

#define EXPATPP_EXPORT
 Prefix for expatpp classes to enable optional DLL linking.


Define Documentation

#define EXPATPP_EXPORT
 

Prefix for expatpp classes to enable optional DLL linking.

#define OOFGRAPH_CREATE_DLL
 

Graph classes will be linked in a DLL.

Leave undefined to assume static linking.

#define OOFGRAPH_EXPORT
 

Prefix for graph classes to enable optional DLL linking.

#define OOFGUI_EXPORT
 

Prefix for MFC GUI classes to enable optional DLL linking.

#define OOFILE_CREATE_DLL
 

OOFILE database & general classes will be linked in a DLL.

Leave undefined to assume static linking.

#define OOFILE_EXPORT
 

Prefix for OOFILE database & general classes to enable optional DLL linking.

#define OOFMFC_STATIC
 

MFC classes will NOT be linked in a DLL.

Leave undefined to assume DLL linking (common MFC default).

Todo:
define a OOFMFC_CREATE_DLL to follow same convention as others.

#define OOFREP_CREATE_DLL
 

Report-writer classes will be linked in a DLL.

Leave undefined to assume static linking.

#define OOFREP_EXPORT
 

Prefix for report writer classes to enable optional DLL linking.


Generated on Fri Jan 2 01:36:03 2004 for OOFILE by doxygen 1.3.5