Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: FischerB 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 ?
-
Hi,
Just add the CLASS_DECL_ATMW_NODES macro to the Language Macros at "Configuration->Language Macros".
After that your class import should work.
have a nice day
Andreas