You receive incorrect class member names in the C2039 error message when you call a function that is not a member of a class
Article ID: 167730
Article Last Modified on 1/5/2006
APPLIES TO
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ .NET 2002 Standard Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q167730
SYMPTOMS
The C2039 error message uses the incorrect class member
name when you call a function that is not a member of a class. For example, the
sample code in the "More Information" section generates the following errors:
error C2039: '.H' : is not a member of 't'
error C2039: '.D' : is not a member of 't'
error C2039: '.PAD' : is
not a member of 't'
STATUS
Microsoft has confirmed that this is a bug in the Microsoft
products that are listed in the "Applies to" section. This bug was corrected in Microsoft Visual C++ .NET 2003.
Keywords: kbtshoot kbbug kbfix KB167730