> But I got error message That one is fixed.
Now regarding your first question. When calling nim function from a foreign runtime you have to make sure that nim's GC is configured properly. Quick way to check it is to do `GC_disable()` as the very first operation of your externally called function. If it works, it means that nim GC is initialized with wrong stack bottom (see `nimGC_setStackBottom`). `nimpy` does that for you, but iirc you'll need a more recent nim version.
