You receive incorrect class member names in the C2039 error message when you call a function that is not a member of a class (167730)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++, 32-bit Learning Edition 6.0
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'
STATUSMicrosoft 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.
Modification Type: | Minor | Last Reviewed: | 1/5/2006 |
---|
Keywords: | kbtshoot kbfix kbBug KB167730 kbAudDeveloper |
---|
|