After many hours of trying to figure out this problem I'm wondering if there even is a way of doing it.
I need to be able to export functions that are called from VB6 (yes you read that correctly, not VB.NET) and I'm at a loss. I got as far as generating a DLL that should have worked; it worked when being called from C at least, but nothing further.
Maybe some Nim vet can steer me in the right direction. I would be immensely greatful.