I\'m calling a function from a native DLL which returns a char* pointer, how can I convert the returned pointer to a string ? I tried :
char*
char* c = f
Your example isn't completely clear, but your comment suggests you're calling into a c++ dll from c#. You need to return a bstr, not a char * or a string.
I'd start with this question/answer, which I used when I had to perform this operation:
How to return text from Native (C++) code