Compiler Error C2152

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2152.

identifier' : pointers to functions with different attributes

A pointer to a function with one calling convention (__cdecl, __stdcall, or __fastcall) is assigned to a pointer to a function with another calling convention.

Show: