Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 631 Bytes

compiler-error-c3737.md

File metadata and controls

28 lines (22 loc) · 631 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C3737
Compiler Error C3737
11/04/2016
C3737
C3737
ca2aeb23-2491-4ccb-8838-884abf7065c8

Compiler Error C3737

'delegate': a delegate may not have an explicit calling convention

You cannot specify the calling convention for a delegate.

Example

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() {
}