Compiler Error C2064

term does not evaluate to a function

A call was made to a function through an expression that did not evaluate to a function pointer.

This error is probably caused by attempting to call a nonfunction.

The following is an example of this error:

int i, j;
char* p;
void func()
{
   j = i();    // error, i is not a function
   p();        // error, p doesn't point to a function
}