The information in this article applies to:
SYMPTOMSWhen a class contains a variable and method of the same name and the variable is accessed using the "this" object reference, the compiler generates the following error message thinking you are trying to access the method: Error J0070: need argument list for call to member "XXX"Where XXX is the variable or method. WORKAROUNDDo not access the variable using the "this" object reference. You can use the name directly. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual J++ 1.1. MORE INFORMATIONSteps to Reproduce Problem
You will get the following error message:
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ Additional query words:
Keywords : kbtool kbCommandLine kbVJ100bug kbVJ110fix |
Last Reviewed: November 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |