Compiler Error C3748
'interface': managed interfaces may not fire events
The __event keyword cannot appear inside an interface.
The following sample generates C3748:
// C3748.cpp
__interface I {
// try the following line instead
// struct I {
__event void f(); // C3748
};
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