I have a native Delphi exe which calls into C# dll via COM interop. Here\'s the simplest case which demonstrate this issue:
Delphi:
IClass1 = interfa
To avoid errors by null pointers you can send an empty character with Chr (#0) or AnsiChar(#0) instead of '' that returns a null.