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