title: wstringstream to LPWSTR
body: <p>I have built up a string using <code>wstringstream</code> and need to assign it to a member of a <code>struct</code> of type <code>LPWSTR</code>. I try to use <code>my_stringstream.str().c_str()</code> but get the following compile time error:</p>
  
  <blockquote>
    <p>cannot convert from 'const wchar_t *' to 'LPWSTR'</p>
  </blockquote>
  
  <p>How can I do this? I have tried many different combinations of casts with either more compile time errors or random jargon when I try and display the string in a GUI.</p>