It works now! Thanks so much, it's of great help.
I also got a question that since I have to call NimMain at startup, is it possible to use multiple nim dynamic libraries in one executable? Do I have to call every NimMain in these dynamic libraries or just one of them?
