The information in this article applies to:
SYMPTOMSWhen you build a Static Library (.LIB) from the Visual Workbench, the following error message may be returned: There is no way to modify the "LIB" command line within the Visual Workbench. RESOLUTION
There is a relatively simple workaround for this problem. All you need to
do is find the inference rule within the makefile generated by Visual
Workbench that causes the LIB utility to be run. There, you can change the
command line that is passed to the LIB utility. To do this, open the
makefile in a text editor and search for the $(PROJ).LIB: inference rule.
When that inference rule is evaluated, it creates a LIB response file
called "$(PROJ).CRF", which contains the command-line switches as well as
the responses for the LIB utility's prompts. The /PAGESIZE option is set to
64, and it can be found somewhere between the pair of "<<" symbols. All
that needs to be done is to change that default value from 64 to a power of
2 that is greater than 64 and is less than or equal to 32768 (such as 128,
256, 512, 1024, 2048, 4096, and so forth).
MORE INFORMATIONThe page size of a library sets the alignment of modules stored in the library. Modules start at locations that are a multiple of the page size from the beginning of the file. When the page size is too small, the U1150 error occurs. REFERENCESFor further information, see the documentation for the LIB utility, located in the LIB.WRI file in the MSVC\HELP directory. Additional query words: 1.00 1.50 page size VWB
Keywords : kb16bitonly |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |