Pass reference to void*
uplink.coder at googlemail.com
Mon Jan 7 13:01:57 UTC 2019
On Monday, 7 January 2019 at 12:19:57 UTC, Andre Pany wrote:
> I call a C function from a dll (SO on linux). While the
> following code works
> fine for DMD on windows, there are strange errors for LDC on
> windows. Also the equivalent code does not work for DMD/LDC on
> (When calling other functions from the dll and passing the
> model reference, this functions are failing).
From the function declaration &model seems to be the correct
thing to use here.
Have you checked that Open is not null ?
More information about the Digitalmars-d-learn