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

iopcDllExternal.h File Reference

Definition of macro DLL_EXTERNAL. More...

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

Included by dependency graph

Defines

#define DLL_EXTERNAL

Detailed Description

Definition of macro DLL_EXTERNAL.

Author:
Josef Troch (josef.troch@email.cz)
Date:
2004

Define Documentation

#define DLL_EXTERNAL
 

In MSVC symbols declared in library must be specified as __declspec(dllexport) when building the library. Global variables imported from library must be in client application specified as __declspec(dllimport).

So definition of all classes and global variables uses this macro. The macro is on MSVC platform expanded to __declspec(dllexport) if macro BUILDING_IOPC_LIB is defined and to __declspec(dllimport) if not. On other platforms macro is expanded to empty string.

Of course, if you are building IOPC LIB, it's necessary to define the BUILDING_IOPC_LIB macro.


Generated on Wed Aug 11 22:34:02 2004 for IOPC by Doxygen 1.3.6