How to Get vector of strings from Native Code(C++) in Managed Code(C#)

If you have the following c++ method, how can you be able to call the method using the C# wrapper library for C++ run-time?

Here is the P/Invoke you need to define in C#.

Now, you can call the method from C# and access the content of the string vector.

 


← Faqs
Translate »