
AutoExp.dat with Interfaces
Assume the following code:
class I1 {}
class I2 {}
class C2 : public I2
{
CString m_Name2;
Quote:
}
class C1 : public I1
{
CString m_Name1;
I2 *m_data;
C1(){ m_Data = new C2; }
Quote:
};
I can use autoexp.dat to :
1. display the m_Name1 property of a I1 pointer (that
points to a C1 object).
2. display the m_Name2 property of a I2 pointer (that
points to a C2 object).
BUT i CAN NOT get it to display the m_Name1 property of
the contained (m_Data) I2 object at the summary level of
the C1 object.
I know I could do this using a custom DLL, but would
prefer not to.
Any help greatly appreciated.