Pass reference to void*
Stefan Koch
uplink.coder at googlemail.com
Wed Jan 9 18:37:57 UTC 2019
On Monday, 7 January 2019 at 13:15:44 UTC, Andre Pany wrote:
> On Monday, 7 January 2019 at 13:01:57 UTC, Stefan Koch wrote:
>> On Monday, 7 January 2019 at 12:19:57 UTC, Andre Pany wrote:
>>> [...]
>>
>> From the function declaration &model seems to be the correct
>> thing to use here.
>> Have you checked that Open is not null ?
>
> Yes, Open is not null and the strange thing is, everything is
> working fine for
> DMD on windows. (I call a lot other dll functions afterwards).
> By switching to LDC the subsequent calls to DLL functions are
> failing.
>
> Thanks.
>
> Kind regards
> André
Might be an calling convention issue?
Are they declared with extern(Windows) ?
More information about the Digitalmars-d-learn
mailing list