title: Error opening a dfm file - Class xxxx not found
body: <p>While opening a dfm file by double clicking, I am getting following error:</p>
  
  <pre><code>Class TMyClass not found. Ignore the error and continue? Note: Ignoring the error may cause components to be deleted or property values to be lost.
  </code></pre>
  
  <p>When I click Cancel, I get following message</p>
  
  <pre><code>Error creating form: Class TMyClass not found.
  </code></pre>
  
  <p>When I click OK now, pas file is opened only.</p>
  
  <p>In pas file MyClass unit is added (which conatins the TMyClass defination) and its path is also added in my search path (Ctrl clicking on unit name, takes me to the unit file)</p>
  
  <p>Everything is fine as per me. I don't know why I am getting this error and why am I not able to open this dfm file in RAD studio? Please help.</p>