摘要: # nim 创建 dll 编译命令 ``` nim c --app:lib --nomain:on test.nim ``` “--app:lib”表示生成动态链接库(dll)。 “--nomain:on”表示不生成 dllmain 函数。 ## 源代码 test() 是我们自定义的导出函数。 `` 阅读全文
posted @ 2023-05-09 21:58 StudyCat 阅读(173) 评论(0) 推荐(0) 编辑