This documentation is archived and is not being maintained.

Compiler Error C3644

Error Message

'function' : cannot compile the function to generate managed code

The presence of some keywords in a function will cause the function to be compiled to native.

The following sample generates C3644:

// C3644.cpp
// compile with: /clr
// processor: x86

void __clrcall Func2(int i) {
   __asm {}   // C3644