Hallo, <br>
damit man eine Header-Datei nicht ändern muß, je nach dem, <br>
ob man gerade eine DLL im- oder exportiert, <br>
funktionierte folgendes unter BORLAND. <br>
<br>
#ifdef __DLL__ <br>
#define DLL_EXIM_PORT __declspec(dllexport) <br>
#else <br>
#define DLL_EXIM_PORT __declspec(dllimport) <br>
#endif <br>
<br>
Nun bin ich dazu verurteilt mit VC zu entwickeln (quäl – quäl). <br>
Dort funktioniert das aber nicht. <br>
Gibt es hier eine ähnliche Variante? <br>
<br>
MfG JB <br>
damit man eine Header-Datei nicht ändern muß, je nach dem, <br>
ob man gerade eine DLL im- oder exportiert, <br>
funktionierte folgendes unter BORLAND. <br>
<br>
#ifdef __DLL__ <br>
#define DLL_EXIM_PORT __declspec(dllexport) <br>
#else <br>
#define DLL_EXIM_PORT __declspec(dllimport) <br>
#endif <br>
<br>
Nun bin ich dazu verurteilt mit VC zu entwickeln (quäl – quäl). <br>
Dort funktioniert das aber nicht. <br>
Gibt es hier eine ähnliche Variante? <br>
<br>
MfG JB <br>
Comment