Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FischerB

Pages: [1]
1
General Board / Macros preceding class names in C++ header files
« on: July 28, 2004, 04:32:45 am »
Hi all,

I 've just downloaded EA and started imported a directory with C++ header files. A couple of these file are within a dll, and so they are preceded by a macro which evaluates to dllimport or dllexport.

Example :
#ifdef _BUILD_ATMW_BASE_DLL
#define CLASS_DECL_ATMW_NODES __declspec  (dllexport)
#else
#define CLASS_DECL_ATMW_NODES __declspec(dllimport)

The classes in the header file look like this :
class CLASS_DECL_ATMW_NODES CAtMwNodeDescriptionImpl

When I import these class,  EA creates classes with  names CLASS_DECL_ATMW_NODES instead of  CAtMwNodeDescriptionImpl

Any idea what I can do ?



Pages: [1]