On Tuesday, 9 February 2021 at 19:37:17 UTC, WhatMeWorry wrote:

I'm trying to create a super simple dynamic library consisting of two files:

[...]

remove /NOENTRY, and include "mixin SimpleDllMain;" in one of the sources. And link with druntime.

link /DLL file2.obj fileB.obj druntime-ldc.lib msvcrt.lib

Reply via email to