The information in this article applies to:
SYMPTOMSEvaluating 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. CAUSEThe 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. RESOLUTIONFor Codeview to evaluate the function properly, you must include values for all of the function's parameters. STATUSMicrosoft 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. MORE INFORMATIONThe sample code shown below can be used to demonstrate the problem. To see the problem, follow these steps:
Sample Code
Additional query words:
Keywords : kb16bitonly |
Last Reviewed: October 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |