Another question about ATL COM
COMObject: public ISomeInterface;
but ISomeInterface appear in the COM map.
My question is can i implement IMyFace in my COMObject without doing COMObject:public IMyFace in the following declaration? I only enter IMyFace into the COM Map. is this ok??
class ATL_NO_VTABLE COMObject:
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<COMObject, &CLSID_COMObject>,
public IErrorInfoImpl <IFileInfo>,
public IResInfoImpl
{
BEGIN_COM_MAP(COMObject)
...
COM_INTERFACE_ENTRY(IMyFace)
END_COM_MAP()
};

