How to call a function from a dll created with d ?
mw
mingwu at gmail.com
Fri Jul 1 22:22:42 UTC 2022
On Friday, 1 July 2022 at 21:15:50 UTC, Vinod K Chandran wrote:
> On Friday, 1 July 2022 at 21:02:20 UTC, mw wrote:
>>
>> I think the problem is the linker looking for dime.testFunc,
>> while your lib function is dimedll.testFunc
>
> Thanks for the reply. What about this `mixin SimpleDllMain;` I
> suspect this.
Try follow instructions here:
https://wiki.dlang.org/Win32_DLLs_in_D
More information about the Digitalmars-d-learn
mailing list