TDI now uses IByteArray and data is successfully transported to C++.