passing a string to C++ plugin

Hello,
How can I pass a string from my C# script to my C++ plugin and get it as a char * ?
is that possible?

Thanks a lot

This page is vital for things like this:

http://www.mono-project.com/Interop_with_Native_Libraries#Strings

In short, though, just declare char* on the plugin side and string on the C# side and it’ll just work.

Cheers,
-Jon

Cool!

Thanks a lot!

Tomas