As @Javi alluded to NimMain is what sets up the GC. So without calling NimMain the GC won't work and thus no Nim strings as they require the GC. It's worth noting though that \--noMain only removes the call to NimMain, the procedure is still generated. So you can import it into your Nim code as any other C function and call it yourself.
- Exporting string functions from DLLs ilitirit
- Re: Exporting string functions from DLLs ilitirit
- Re: Exporting string functions from DLLs Javi
- Re: Exporting string functions from DLLs PMunch
