DOC: Online Help for /GEe Compiler Option Is Incorrect

ID: Q118684

The information in this article applies to:

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 query words: 1.00 1.50 Keywords : kb16bitonly

Last Reviewed: November 12, 1998