6715 :: How to create a .dll for other program?
[2020-08-23T17:42:17+02:00]
View Orginal
-
Couldn't render post #41683.
-
proc DllMain*(): void {. exportc, dynlib .} =
let text = "Cats are very cool!"
writeFile("cats.txt", text)
-
You should simply compile with --app:lib