Article ID: 190974 - Last Review: July 17, 2001 - Revision: 1.0

PRB: Function Prototypes Do Not Generate Parameter Info

This article was previously published under Q190974

On This Page

Expand all | Collapse all

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.

MORE INFORMATION

Steps to Reproduce Behavior



  1. In a Visual C++ project, create a new C/C++ Source file.
  2. Type the following code into the new source file:
          void Test(DWORD dw, UINT ui);
          void UseTest();
    
          void UseTest()
          {
          }
    						
  3. Inside of the UseTest function definition, type the following:
          Test(
    							
    Notice that no Parameter Info appears for the Test function.
  4. Delete the code entered in step 3.
  5. Add the following code to the end of the source file:
          void Test(DWORD dw, UINT ui)
          {
          }
    						
  6. Perform step 3 again. Parameter Info now appears for the Test function.

REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:
153284  (http://support.microsoft.com/kb/153284/EN-US/ ) Limitations of IntelliSense in Visual C++ 6.0
"Template Topics;" Visual C++ Documentation, Using Visual C++, Visual C++ Programmers Guide, Adding Program Functionality, Details, Template Topics.

"About Automatic Statement Completion;" Visual C++ Documentation, Using, Visual C++, Visual C++ Users Guide, Text Editor, Overview: Text Editor, About Automatic Statement Completion.

APPLIES TO
  • Microsoft Visual C++ 6.0 Enterprise Edition
Keywords: 
kbprb KB190974
 

Article Translations