Ok, I have never used Pelles C nor PureBasic (I did some BlitzBASIC 10 years ago if that counts). So my answer is just guessing around. Since PureBasic seems to be integrated with the pelles C compiler, did you try to also compile the nim intermediate code with that compiler to a static library? I could imagine that it might help.
- Help With Nim Static Libs on Windows Tristano
- Re: Help With Nim Static Libs on Windows Krux02