FIX: JActiveX-Generated VC6 COM Wrappers Don't Compile in VJ6 (194903)
The information in this article applies to:
This article was previously published under Q194903 SYMPTOMS
Compilation errors may occur after adding COM wrappers for some type libraries to a Microsoft Visual J++ project. For example, the following nine errors are generated when building a Visual J++ 6.0 Windows Application project that has added COM wrappers for "Visual C++ Shared Objects" (Devshl.dll) and "Visual C++ Project System" (Devbld.pkg):
BuildProject.java(94,40) : error J0061: The members 'Object
IDispBuildProject.getConfigurations()' and 'IConfigurations
BuildProject.getConfigurations()' differ in return type only
Configuration.java(20,39) : error J0063: Declare the class abstract, or
implement abstract member 'void IDispConfiguration.setName(String
newValue)'
Configuration.java(20,39) : error J0063: Declare the class abstract, or
implement abstract member 'void IDispConfiguration.setParent(Object
newValue)'
Configuration.java(20,39) : error J0063: Declare the class abstract, or
implement abstract member 'void IDispConfiguration.setApplication(Object
newValue)'
Configuration.java(20,39) : error J0063: Declare the class abstract, or
implement abstract member 'void
IDispConfiguration.setConfigurations(Object newValue)'
Configuration.java(48,40) : error J0061: The members 'Object
IDispConfiguration.getConfigurations()' and 'IConfigurations
Configuration.getConfigurations()' differ in return type only
Configurations.java(32,38) : error J0061: The members 'Object
IDispConfigurations.getParent()' and 'IBuildProject
Configurations.getParent()' differ in return type only
Configurations.java(41,39) : error J0061: The members 'Object
IDispConfigurations.Item(Variant Index)' and 'IConfiguration
Configurations.Item(Variant Index)' differ in return type only
Projects.java(35,40) : error J0061: The members 'Object
IDispProjects.Item(Variant Index)' and 'IGenericProject
Projects.Item(Variant Index)' differ in return type only
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Visual Studio version 6.0 Service Pack 3.
For information on obtaining Service Pack 3 for Visual Studio, please see:
230731 INFO: Visual Studio 6.0 SP3 Readme: Part 7 - Visual J++
REFERENCES
For 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:
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by
Adele Hunter, Microsoft Corporation.
Modification Type: | Minor | Last Reviewed: | 8/25/2005 |
---|
Keywords: | kbAddIn kbBug kbfix kbJava kbVS600sp3fix KB194903 |
---|
|