Nata
Norint pasiekti šį puslapį, reikalingas leidimas. Galite pabandyti prisijungti arba pakeisti katalogus.
Norint pasiekti šį puslapį, reikalingas leidimas. Galite pabandyti pakeisti katalogus.
'function' : __declspec(dllexport) cannot be applied to a function with the __clrcall calling convention
Remarks
__declspec(dllexport) and __clrcall are not compatible. For more information, see dllexport, dllimport.
Example
The following example generates C3395:
// C3395.cpp
// compile with: /clr /c
__declspec(dllexport) void __clrcall Test(){} // C3395
void __clrcall Test2(){} // OK
__declspec(dllexport) void Test3(){} // OK