DOCERR: Online Help for /GEe Compiler Option is Incorrect

Last reviewed: July 22, 1997
Article ID: Q118684
1.00 1.50 WINDOWS kbref kbdocerr

The information in this article applies to:

  • Microsoft Visual C++ for Windows, versions 1.0 and 1.5

The description of the /GEe compiler option (Emit Linker EXPDEF records) in the "Compiler: Windows Prolog/Epilog" topic of the Build Tools online Help file (MSCOPTS.HLP) is incorrect. It states that the /GEe option creates EXPDEF records in the object file for all "__far" functions, even those not declared as "__export". This is incorrect and contradicts other descriptions in the Help and documentation where /GEe is described as only working for __export functions. Using /GD (protected mode DLL functions) with /GEe does not create EXPDEF records for all __far functions.

/GEe does what /GD does by default, but the benefit of using /GEe is that you can use it with /GA (protected mode application functions) because /GA does not create EXPDEF records for __export functions by default. In other words, if you need to export a function from your application using __export and you do not want to list the function in the EXPORTS section of the .DEF file, you can use /GA and /GEe together.


Additional reference words: 1.00 1.50
KBCategory: kbref
KBSubCategory: CLIss
Keywords : kb16bitonly


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: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.