Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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()
{
}
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.