Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.13 KB

extracting-a-library-member.md

File metadata and controls

20 lines (15 loc) · 1.13 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Extracting a Library Member
Extracting a Library Member
11/04/2016
LIB [C++], extracting library members
EXTRACT library manager option
libraries, extracting members
-EXTRACT library manager option
extracting library members
/EXTRACT library manager option
a2c5c2a1-9b7e-489a-a9a4-1dec694e1fc5

Extracting a Library Member

You can use LIB to create an object (.obj) file that contains a copy of a member of an existing library. To extract a copy of a member, use the following syntax:

LIB library /EXTRACT:member /OUT:objectfile

This command creates an .obj file called objectfile that contains a copy of a member of a library. The member name is case sensitive. You can extract only one member in a single command. The /OUT option is required; there is no default output name. If a file called objectfile already exists in the specified directory (or the current directory, if no directory is specified with objectfile), the extracted objectfile replaces the existing file.

See also

LIB Reference