On Tuesday, 29 September 2020 at 21:22:21 UTC, WhatMeWorry wrote:module user; export { int myAddSeven(int a, int b); }[...]it is better to use this template https://github.com/dlang/dmd/tree/master/samples/mydllYou don't have a DllMain.
yeah that's the problem, check [0] OP. The author makes commercial dll on windows so he knows what he speaks about
[0] https://forum.dlang.org/post/mscgsclxwtjcferfx...@forum.dlang.org