Compiler Warning (level 1) C4911

Visual Studio .NET 2003

using the 'calling convention' calling convention specified in the interface 'interface' for method 'class::method'

The compiler checks for the mismatched calling convention and replaces the calling convention specified in the implementing class with the calling convention specified in the interface.

If an application is compiled with an ambient calling convention other than __stdcall and you do not explicitly state what the calling convention is in the implementation, you will also get this warning.

Show: