Compiler Error C2066
Visual Studio 2015
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 C2066.
cast to function type is illegal
In ANSI C, it is not legal to cast between a function pointer and a data pointer.
Show: