BUG: Invalid "Argument List Doesn't Match A Function" Error
Article ID: 117146
Article Last Modified on 10/23/2003
APPLIES TO
- Microsoft CodeView 4.0
- Microsoft CodeView 4.01
- Microsoft CodeView 4.1
- Microsoft CodeView 4.0
- Microsoft CodeView 4.01
- Microsoft CodeView 4.1
This article was previously published under Q117146
SYMPTOMS
Evaluating a C++ function in the Codeview command window using the
function's default parameter values will cause Codeview to give an error
message stating that the "argument list doesn't match a function", even
though default parameters have been specified in the code.
CAUSE
The Codeview expression evaluator was not designed to process default
arguments for C++ functions. Therefore, it expects a C++ function to
receive the exact number of parameters specified in the function's formal
parameter list.
RESOLUTION
For Codeview to evaluate the function properly, you must include values for
all of the function's parameters.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
problem and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Keywords: kb16bitonly KB117146