Trying to create a trivial 64 bit D Lang DLL on a Windows 10 machine and cant get past linking.

user1234 user1234 at 12.de
Thu Oct 1 09:22:29 UTC 2020


On Wednesday, 30 September 2020 at 11:45:53 UTC, Ferhat Kurtulmuş 
wrote:
> 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.

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/mscgsclxwtjcferfxoet@forum.dlang.org


More information about the Digitalmars-d-learn mailing list