1、新建文件module.def。

2、动态库工程上右键->属性->链接器->输入->模块定义文件编辑它写入module.def

3、下面为module.def实例(smart_pen_init为要导出的函数名)

LIBRARY "smartpen"

EXPORTS
smart_pen_init
smart_pen_event

 

相关文章: