Export (0) Print
Expand All
Expand Minimize

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() {
}

Community Additions

ADD
Show:
© 2014 Microsoft