Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C3626
Collapse the table of content
Expand the table of content

Compiler Error C3626

Error Message

'keyword': '__event' keyword can only be used on COM interfaces, member functions and data members that are pointers to delegates

A keyword was used incorrectly.

The following sample generates C3626:

// C3626.cpp
// compile with: /c
struct A {
   __event int i;   // C3626
// try the following line instead
// __event int i();
};

Community Additions

ADD
Show:
© 2015 Microsoft