definition of dllimport function not allowed 不允许dllimport函数的定义 本应该是导出,结果写成导入了,就会出现这个问题 改为:dllexport 问题解决。