This documentation is archived and is not being maintained.

ATL Provider Warning ATL4053

Error Message

Class "class" derives from CComCoClass. Not injecting base class.

The provider would ordinarily inject a base class, but class class already derives from the base class.

The following sample generates ATL4053.

/* ATL4053.cpp */
// compile with: /c /WX
// ATL4053 expected
#include <atlbase.h>
#include <atlcom.h>

[ coclass, uuid("00000000-0000-0000-0000-000000000001") ]
class CATL4053 : public CComCoClass