DLL 头文件:
#ifdef DLL_API
#else
#define DLL
导出类
class DLL_API point { public: void aaa() { } }
导出类中函数
class point { public: DLL_API void aaa() { } }
DLL 头文件:
#ifdef DLL_API
#else
#define DLL
导出类
class DLL_API point { public: void aaa() { } }
导出类中函数
class point { public: DLL_API void aaa() { } }