VS2019 DLL生成

1.test.hios #ifndef DLLTEST_EXPORTS //宏定義 定義於項目屬性 用來肯定import or export #define EXPORT_API __declspec(dllimport) //使用時爲import #else #define EXPORT_API __declspec(dllexport) #endif namespace dll_test{
相關文章
相關標籤/搜索