title: Invalid FORMATETC structure when calling CreateObjectFromFile
body: <p>I am using Delphi 7 to try and load a Word document into an OLEContainer. The program is running in a Terminal Services (Windows 2003) environment. </p>
  
  <p>The following code generates the error for some users:</p>
  
  <pre><code>procedure TForm1.Button1Click(Sender: TObject);
  begin
    OleContainer1.CreateObjectFromFile('c:\tmp\test.doc', false);
  end;
  </code></pre>
  
  <p>It is a simple application with an OLEContainer and a button on a form. The c:\tmp\test.doc is a Word 2003 document. </p>
  
  <p>For some users this code generates the error</p>
  
  <blockquote>
    <p>Invalid FORMATETC structure.</p>
  </blockquote>
  
  <p>For others it does not. All the users run on the same terminal server, thus running the same program accessing the same Word doc. Moreover, all the users were created using a script, so they have the exact same setup, apart from the username and suchlike of course. </p>
  
  <p>I have tried making all the users administrators, but that does not change the behaviour. </p>
  
  <p>Anyone got any ideas what the problem can be?</p>