Charles Hixson: > extern (C) void dbdefine (char[] inStr, ref char[255] outStr); I think C and D char[] don't go well together. D arrays are 2-word long structs. Try again with something simpler, like a pointer and length. Bye, bearophile