So you have "int integer;" in D and "long long integer;" in C, which doesn't match. I'm not sure what size "long long" is in C, but I guess you need "long" in D?

Thanks. I've changed `int integer` to `c_long integer` according to this page

http://dlang.org/interfaceToC.html

c_long is in core.stdc.config

But I still can not get reply.str right...

Reply via email to