Compiler Error C2066
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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.

© 2016 Microsoft