Oh, never mind. About sending strings, I got it working, I just had to
create a function like this in D:
immutable(char)* GetString()
{
return StringD.toStringz();
}
As for D not compiling, I had to declare it in D, d'oh :D And that
extern is in the wrong place there.