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/mydll
You don't have a DllMain.