title: Marshal "char *" in C#
body: <p>Given the following C function in a DLL:</p>
  
  <pre><code>char * GetDir(char* path );
  </code></pre>
  
  <p>How would you P/Invoke this function into C# and marshal the char * properly.
  .NET seems to know how to do LPCTSTR but when I can't figure out any marshaling that doesn't cause a NotSupportedException to fire when calling this function.</p>