BUG: Invalid "Argument List Doesn't Match A Function" Error (117146)
The information in this article applies to:
- Microsoft CodeView for MS-DOS 4.0
- Microsoft CodeView for MS-DOS 4.01
- Microsoft CodeView for MS-DOS 4.1
- Microsoft CodeView for Windows 4.0
- Microsoft CodeView for Windows 4.01
- Microsoft CodeView for Windows 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.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kb16bitonly KB117146 |
---|
|