description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C3737 |
Compiler Error C3737 |
11/04/2016 |
|
|
ca2aeb23-2491-4ccb-8838-884abf7065c8 |
'delegate': a delegate may not have an explicit calling convention
You cannot specify the calling convention for a delegate
.
The following sample generates C3737:
// C3737a.cpp
// compile with: /clr
delegate void __stdcall MyFunc(); // C3737
// Try the following line instead.
// delegate void MyFunc();
int main() {
}