description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C3117 |
Compiler Error C3117 |
11/04/2016 |
|
|
dceee392-d4c7-4599-b75e-7aaac7c36fdd |
'%$S' : an interface can only have one base class
You declared an interface that inherits from multiple base classes.
The following sample generates C3117:
// C3117.cpp
#include <windows.h>
[ object, uuid("00000000-0000-0000-0000-000000000001") ]
__interface I1
{
};
[ object, uuid("00000000-0000-0000-0000-000000000002") ]
__interface I2
{
};
[ object, uuid("00000000-0000-0000-0000-000000000003") ]
__interface I3 : I1, I2
{ // C3117
};