title: AV when using std::stringstream in dll
body: <p>I'm facing a problem, when I use a std::stringstream and call the &lt;&lt; operator within a dll. After calling this operator my application reports an access violation when it gets closed. </p>
  
  <p>In my test project there is a exe and and a dll. For both the option "link with dynamic RTL" is active. From the exe the following function of the dll is called:</p>
  
  <pre><code>void __stdcall Test(void)
  {
      ss.str();
      ss &lt;&lt; 1;
  }
  </code></pre>
  
  <p>I found a report according to this in QC:
  <a href="http://qc.embarcadero.com/wc/qcmain.aspx?d=37491" rel="nofollow">qc.embarcadero.com/wc/qcmain.aspx?d=37491</a></p>
  
  <p>Has anybody newer informations about this issue or a workaround?
  Disabling dynamic linking of the RTL is unfortunately not an option for me.</p>
  
  <p>I can reproduce this with behaviour with C++ Builder XE6 and XE7</p>
  
  <p>Regards
  KD</p>