Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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

Community Additions

© 2015 Microsoft