Declaring a D pointer to a C function
Daniel Murphy
yebblies at nospamgmail.com
Wed Jul 13 08:32:50 PDT 2011
"Andrej Mitrovic" <andrej.mitrovich at gmail.com> wrote in message
news:mailman.1607.1310570915.14074.digitalmars-d-learn at puremagic.com...
> Thanks! I've literally lost an entire day once when I was just
> starting using D and C together and had a calling convention mismatch.
> :x
It's worse than just calling conventions - try changing the parameter types!
(or basically anything except the return type)
More information about the Digitalmars-d-learn
mailing list