This documentation is archived and is not being maintained.

ATL Provider Error ATL2054

Error Message

Unknown interface "interface" used with attribute.

The provider has encountered an unknown interface.

The following sample generates ATL2054.

// ATL2054.cpp
// compile with: /c
// ATL2054 expected
#define _ATL_ATTRIBUTES
#include <atlbase.h>
#include <atlcom.h>

[ dual ]
__interface IATL2054
{
};

[
   coclass,
   support_error_info(IAtl2054) // should be IATL2054
]
class CATL2054 : public IATL2054
{
};
Show: