Microsoft KB Archive/190974

= PRB: Function Prototypes Do Not Generate Parameter Info =

Article ID: 190974

Article Last Modified on 7/17/2001

-

APPLIES TO


 * Microsoft Visual C++ 6.0 Enterprise Edition

-



This article was previously published under Q190974



SYMPTOMS
Parameter Info for global functions is generated only from the function definition, not the prototype.



RESOLUTION
The function must be implemented, or the source file with the implementation must be added to the project.



STATUS
This behavior is by design.



Steps to Reproduce Behavior
 In a Visual C++ project, create a new C/C++ Source file.  Type the following code into the new source file: void Test(DWORD dw, UINT ui); void UseTest;

void UseTest {     }                          Inside of the UseTest function definition, type the following: Test( Notice that no Parameter Info appears for the Test function.  Delete the code entered in step 3.  Add the following code to the end of the source file:      void Test(DWORD dw, UINT ui)      {      }                         Perform step 3 again. Parameter Info now appears for the Test function.</li></ol>

<div class="references_section">