Compiler Error C2661

'function' : no overloaded function takes number parameters

The specified overloaded function was not declared for the given number of parameters.

This error can be caused by calling the function with incorrect actual parameters or by omitting a function declaration.

The following is an example of this error:

void func( int );
void func( int, int );
void main()
{
   func( );      // error, func( void ) was not declared
   func( 1 );    // OK, func( int ) was declared
}