C++ : inline functions with dllimport/dllexport?
I create a DLL (say CORE.DLL) ,I have classes/functions declared as follows: #ifdef RINZOCORE_SHARED #define RINZO_LIB __declspec(dllexport) #else #define RINZO_LIB __declspec(dllimport) #endif I have defined many inline functions with "dllexport" macro , class RINZO_LIB CVector { public: CVector();//!< default constructor .. real& x();//!< accessor for the x component (can be used as l-value too) real& y();//!< accessor for the y component (can be used as l-value too) real& z();//!< accessor for the z component (can be used as l-value too) CVector& operator=(const CVector& other);//!< the