Compiler Error C3110
'function_name' : you cannot overload a COM interface method
An interface that is prefaced by an interface attribute, such as:
cannot be overloaded. For example:
// C3110.cpp
#include <unknwn.h>
[ object, uuid= "4F98A180-EF37-11D1-978D-0000F805D73B" ]
__interface ITestInterface
{
HRESULT mf1(void);
HRESULT mf1(BSTR); // C3110
};
int main()
{
}
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