title: CObject, CStringArray and error C2248
body: <pre><code>class MyClass : public CObject
  {
  public:
     MyClass();
  
  private:
     CStringArray m_myArray;
  };
  </code></pre>
  
  <p>causes error c2248</p>
  
  <p>What's wrong with this ?
  I think it's related to the fact that CStringArray and MyClass both derive from CObject.</p>
  
  <p>Legacy class derived from CObject currently uses CustomArray it just seems wrong to me so I would like to replace it by CStringArray.</p>