Aracılığıyla paylaş


Derleyici Hatası C3395

'function' : __declspec(dllexport) __clrcall çağırma kuralına sahip bir işleve uygulanamaz

Açıklamalar

__declspec(dllexport) ve __clrcall uyumlu değildir. Daha fazla bilgi için bkz . dllexport, dllimport.

Example

Aşağıdaki örnek C3395 oluşturur:

// C3395.cpp
// compile with: /clr /c

__declspec(dllexport) void __clrcall Test(){}   // C3395
void __clrcall Test2(){}   // OK
__declspec(dllexport) void Test3(){}   // OK