DOCERR: Libraries Added by Comment pragma Appear After DefaultLast reviewed: September 30, 1997Article ID: Q41104 |
The information in this article applies to:
SUMMARYThe documentation states that when using the library option of the comment pragma the specified library name will be inserted before the default library name in the object module. This is not the case; the given library name appears after the default library name. This agrees with the next statement in the documentation which states that using this pragma is the same as giving the library to LINK on the command line.
MORE INFORMATIONIf the order of the default library and an added library is important, compiling with the /Zl switch will prevent the default library name from being placed in the object module. A second comment pragma then can be used to insert the name of the default library after the added library. The libraries listed with these pragmas will appear in the object module in the same order they are found in the source code.
Keywords : CLIss Version : MS-DOS: 6.0, 6.00a, 6.00ax, 7.0; OS/2: 6.0, 6.00a; WINDOWS: 1.0, 1.5; WINDOWS NT: 1.0, 2.0, 5.0 Platform : NT OS/2 WINDOWS Issue type : kbdocerr |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |