@zetashift \- thanks I'll take a look @dsrw \- thanks I need nimrtl because there will be other Nim DLLs, but I'd tried anyway and it still crashes. I've cut the code right back to the minimum: let std = findNimStdLibCompileTime() let intr = createInterpreter("script.nim", [std]) intr.destroyInterpreter() Run
I get the AV (the classic C0000005) at createInterpreter - if I comment-out this line it runs fine. I don't build with --noMain because I use auto-init of the GC. I just tested to check though and it still crashes. Are you building for 32 or 64-bit?