INFO: Installing VJ++ Upgrades Certain VC++ Components

Last reviewed: January 29, 1998
Article ID: Q157618
The information in this article applies to:
  • Microsoft Visual J++, version 1.0
  • Microsoft Visual C++, 32-bit Edition, versions 4.0, 4.1
  • Microsoft Visual C++, Macintosh Cross-Development, version 4.0
  • Microsoft FORTRAN PowerStation 32 for Windows NT, version 4.0

SUMMARY

Installing Visual J++ (VJ++) on a machine that has Visual C++ 4.0 or 4.1 installed upgrades the Developer Studio and certain C/C++ compiler components. This is necessary to maintain compatibility between the compiler, the debugger, and the new version of the Developer Studio. It is recommended that you upgrade to Visual C++ 4.2, but not necessary.

MORE INFORMATION

If you continue using an earlier version of Visual C++, you should be aware that some of the C/C++ compiler components were upgraded to Visual C++ 4.2. The newer compiler introduces bug fixes and new features that may produce different compiler warnings or errors when building your existing projects.

For example, the Visual C++ 4.0 and 4.1 system header files are still using the bool keyword as a typedef name. The new components of the Visual C++ 4.2 compiler do not support the bool keyword and, as a result, issue the following Compiler Error:

   C2328 'bool' : keyword is not yet supported

A workaround for this problem is to rename the symbol at compile time with the flag "-Dbool=Bool." This can be added to the Build.Settings and should inhibit the error.

VJ++ 1.0 also upgrades similar components for earlier versions of the Fortran PowerStation and the Macintosh Cross-Development products.

This problem does not occur under Visual J++ 1.1 and Visual C++ 5.0

REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:

   http://support.microsoft.com/support/visualj/
   http://support.microsoft.com/support/java/

Keywords          : kbsetup kbusage VJGenIss
Technology        : kbInetDev
Version           : 1.0 4.0 4.1
Platform          : MACINTOSH NT WINDOWS
Issue type        : kbinfo


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 29, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.