definition of dllimport static data member not allowed


#ifdef  VARIABLEACCESS_EXPORTS
#define VARIABLEACCESS_EXPORT __declspec(dllexport)
#else
#define VARIABLEACCESS_EXPORT __declspec(dllimport)
#endif

原因就在VARIABLEACCESS_EXPORTS没有定义

你可能感兴趣的:(definition of dllimport static data member not allowed)