Microsoft KB Archive/190974

From BetaArchive Wiki

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.

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 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.


Additional query words: kbvc600

Keywords: kbprb KB190974