Atila Neves:
Another problem I had was the silly C code taking char* instead of const char*. Passing in D strings was "fun".
I don't remember why std.string.toStringz returns a immutable(char)* instead of a char* if you give it a char[].
Bye, bearophile