c++ dll导出

extern "C" {
    __declspec(dllexport) struct plugin_infomation AVG32_plugin_infomation;
    __declspec(dllexport) plugin_ext_operation AVG32_KOE_operation;
    __declspec(dllexport) char *plugin_can_process_extension = strtok(AVG32_plugin_infomation_package_raw," ");
}
重点是这个__declspec(dllexport)前缀
posted on 2025-12-23 15:39  小沙盒工作室  阅读(2)  评论(0)    收藏  举报