This documentation is archived and is not being maintained.

Compiler Error C2066

Error Message

cast to function type is illegal

In ANSI C, it is not legal to cast between a function pointer and a data pointer.

Show: