fcml  1.2.2
Macros
fcml_lib_export.h File Reference

Handles Win32 DLL symbols importing/exporting. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Handles Win32 DLL symbols importing/exporting.

The only interesting thing here is the LIBFCML_DLL_IMPORT symbol which has to be always defined in order to use dynamic DLL under Windows. You can achieve it by declaring the symbol before this header file is included. For example:

#define LIBFCML_DLL_IMPORT
#include <fcml_lib_export.h>

Take into account that this header file is included by every FCML public header, so in fact you should define the symbol before including anything from the FCML library. This declaration can be omitted as long as you use undecorated symbol names.