The basic syntax is: typedef long(*MyFunc)(const char *); VC6 ... long __stdcall(* MyFunc)(const char *); // Error is "error C2059: syntax error : '('"
forums.codeguru.com