Compiler Error C3117
'%$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
};
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for