title: What type to PInvoke for a char**
body: <p>Consider the following C function:</p>
  
  <pre><code>void get_lib_version(const char **ver_string);
  </code></pre>
  
  <p>How do I marshall this correctly with PInvoke? The documentation says it returns a pointer to a static string. I thought this would do it:</p>
  
  <pre><code>[DllImport(DllPath, CallingConvention = CallingConvention.Cdecl)]
  public static extern int get_lib_version(StringBuilder version);
  </code></pre>
  
  <p>but all I get is gibberish.</p>