How to call a function from a dll created with d ?

mw mingwu at gmail.com
Sat Jul 2 21:36:50 UTC 2022


On Saturday, 2 July 2022 at 20:43:41 UTC, Vinod KC wrote:
> On Saturday, 2 July 2022 at 14:32:11 UTC, apz28 wrote:
>>
>> dmd -of=dimedll.dll dimedll.d dimedll.def
>> dmd dime.d dimedll.di
>
> Thanks for the reply. Well, I am sorry to say that your 
> suggestions resulted in failure.
> First of all, when I used this command -- ` dmd -of=dimedll.dll 
> dimedll.d dimedll.def` I got this error message-
> `Error: unrecognized file extension dll`.

Actually, can you create a github repo, I'm sure people will send 
you a working PR.



More information about the Digitalmars-d-learn mailing list