I want to create a WCF service with COM Interop with which I need to pass complex data. Preferrably an array of custom class objects. I am not sure how to achieve this and there is a lack of decent examples.
I only found one similar question on Stackoverflow here
Calling C# From Unmanaged C++ Passing Or Returning "Complex" Types
However, the solution was to just use a C++/CLI dll instead but this is not an option for me. The C++ application that will call it statically links the C++ runtime and I have been told that this mustn't be changed.