DOCERR: ALIAS Directive Undocumented in MASM 6.0

Last reviewed: October 21, 1994
Article ID: Q87932
The information in this article applies to:
  • Microsoft Macro Assembler for MS-DOS, versions 6.0, 6.0a, and 6.0b
  • Microsoft Macro Assembler for OS/2, versions 6.0, 6.0a, and 6.0b

SUMMARY

In the online Help and on page 618 of the "Microsoft Macro Assembler Programmer's Guide" for MASM versions 6.0, 6.0a, and 6.0b, the ALIAS keyword is listed as a word that is reserved for future use. While the feature was actually implemented in the assembler, it was not documented as such.

The ALIAS directive was not documented because Microsoft recommends using LINK 5.3 or later and LIB 3.2 or later when producing .EXEs, .DLLs, or library modules that use this directive. These utilities did not ship until Microsoft C/C++ 7.0; therefore, because the tools were not available at the time that MASM 6.0 shipped, the directive was not documented.

MORE INFORMATION

This feature is useful to map names used in one version of a product to names used in another version of that product when they have changed. The library OLDNAMES.LIB that ships with Microsoft C/C++ version 7.0 was created to map C 6.0 names to C/C++ 7.0 names and uses this technology.

The syntax for the ALIAS directive is as follows

   ALIAS  <alias> = <actual-name>

where the angle brackets are required, alias is the alternate or alias name, and actual-name is the actual name of the function or procedure. Note that the new utilities, LINK 5.3 and LIB 3.2, should be used.


Additional reference words: 6.00 6.00a 6.00b
KBCategory: kbref kbdocerr
KBSubCategory:


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: October 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.