NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 3) C4793

native code generated for function 'function': 'reason'

function was compiled to unmanaged, native code, even though the file was compiled /com+. The compiler will not be able to create an MSIL version of the function if the function includes setjmp, inline assembly, or a parameter list that includes a variable number of parameters.

The following sample generates C4793:

// compile with /com+ /W3
int asmfunc(void) {   // C4793, compiled as unmanaged, native code
   __asm { 
      mov eax, 0
   }
}

void main(void) {
}