Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: zlotin on January 08, 2002, 12:37:57 am
-
I'm triing to import classes which have the __declspec( dllexport ) prefix; The result is imported the class with name "__declspec". I tried to use the defines to hide the __declspec( dllexport ), or predefinitions ( this way I used when worked with together ), The result is negative anyway - the class with wrong name is created, the real class is not in the project.
-
Hello,
We are not exactly sure why you are having these troubles, by defining a language macro EA should ignore them totally. Would it be possible for you to send a code sample (.h file(s)) that the errors are occuring with, that way we can test what is happening.
Paul Mathers
-
no problems... new file with this text, import... and you are getting... Class IMPORT...
#define IMPORT __declspec( dllexport )
//class IMPORT c_zz ;
class IMPORT c_zz
{
public:
int i ;
};