动态库dll使用module.def文件导出函数(像静态库一样使用)时间:2023-03-09 20:25:13 1、新建文件module.def。 2、动态库工程上右键->属性->链接器->输入->模块定义文件编辑它写入module.def 3、下面为module.def实例(smart_pen_init为要导出的函数名) LIBRARY "smartpen" EXPORTS smart_pen_init smart_pen_event