Compiler Error C3645
'function' : __clrcall cannot be used on functions compiled to native code
The presence of some keywords in a function will cause the function to be compiled to native.
Example
The following sample generates C3645.
// C3645.cpp
// compile with: /clr /c
#pragma unmanaged
int __clrcall dog() {} // C3645
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for