Compiler Error C2066
Visual Studio 2008
cast to function type is illegal
In ANSI C, it is not legal to cast between a function pointer and a data pointer.
In ANSI C, it is not legal to cast between a function pointer and a data pointer.