PAssing string arrays from C++ through DLL

It actually shouldn’t be like this, because you forgot to delete every single array and now have multiple memory leaks in your program.
Use std::vector<char*> or TArray<char*> instead. TArray has GetData() method for situations like this.