You can use the ilib command to get a list of the contents of a static library. Perform the following steps:
For example, the following command creates listing file mylib.lst for the static library mylib.lib.
ilib /list:mylib.lib
You can perform several tasks in one run of ilib. For example the following command creates a new library pets.lib that contains all object modules from an existing library zoo.lib except the module named snake. A list file pets.lst is also output.
ilib /out:pets.lib /list:pets.lst zoo.lib /remove:snake
Example Listing Produced by the ilib Command
![]()
Static and Dynamic
Link Libraries
Maintaining Libraries
![]()
Combine Static Libraries
Add an Object Module to a Static Library
Replace an Object Module in a Static
Library
Extract an Object Module from a Static
Library
Remove an Object Module from a Static
Library
