title: char pointer argument value is not getting updated when i get the response back from my c++ dll to c#
body: <p>i have imported a c++ native dll method in c#. below is how the c++ method look</p>
  
  <pre><code>extern "C" declspec(dllexport) int __stdcall temp(char *value)
  {
    value="hksdhfs";
    return 1;
  }
  </code></pre>
  
  <p>this how i imported in c#</p>
  
  <pre><code>[DllImport("check.dll", CallingConvention = CallingConvention.StdCall, ExactSpelling = true, EntryPoint = "temp")]
      public static extern int temp(string value);
  </code></pre>
  
  <p>the problem is that i am able to send the data thorough the "value" char pointer to the c++ dll, but the value is not being changed when i get "value" char pointer back in c#. Can any one please help.</p>