title: TParam.LoadFromStream is not working in Delphi XE2?
body: <p>I have written a below code in Delphi XE2.</p>
  
  <pre><code>var
  stream : TStringStream;
  
  begin
  stream := TStringStream.Create;
  
  //Some logic to populate stream from memo.
  
  ShowMessage(stream.datastring); //This line is showing correct data
  
  // some Insert query with below parameter setting
  ParamByName('Text').LoadFromStream(stream , ftMemo);
  </code></pre>
  
  <p>But this is storing text as ???? in table.</p>
  
  <p>This type of code is working fine in Delphi 4.</p>
  
  <p>Is there any issue in TParam.LoadFromStream function in Delphi XE2?</p>
  
  <p><strong>EDIT:</strong> 
  Table field is of type 'Text'.</p>