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

Compiler Error C3632

'event': illegal style of event for construct

__event declarations are not valid in all constructs.

C3632 is only reachable using /clr:oldSyntax.

The following sample generates C3632:

// C3632.cpp
// compile with: /clr:oldSyntax
#using <mscorlib.dll>
using namespace System;

public __gc __interface I
   __event void sna();   // C3632

// use the following as an example
__delegate void MyDel();
public __gc __interface I2
   __event MyDel* sna;

int main()

Community Additions

© 2015 Microsoft