Sharing variables between C# and C++

I’m writing a software in c# which needs to call many times and by many threads a function in a c++ unmanaged dll.

I have a C++ file like that:

// “variables” which consist in some simple variables …

UIActivityViewController with HTML

When I pass a string containing HTML content as an array element to the UIActivityViewController initWithActivityItems method it doesn’t present it as HTML in the selected ‘share’ controller, but …