Thank you very much,
I had a look at TLIB
In internet i found some doc's :
Static libraries have an extension of .LIB
They contain object files and a table which tells what they contain.
They are convenient because they remove the need to remember the
source file name for every function that you use.
The linker assembles the object files you give it, making a list of the items
(mostly the public names of functions) that you provide and those which you use.
For any that are used but have not been provided it searches the libraries
for matching names. Each object file in the library that has a needed name
will be linked into the executable. Object files in the library that do not
contain a needed item will not be linked in.
Static libraries are created with the librarian, Tlib.exe.
Assume that you have the object files one.obj, two.obj and three.obj
and wish to create a static library named Numbers.LIB which contains them.
A command line to create that library could be:
tlib /C Numbers -+one-+two-+three,Numbers
The /C says the library should be case-sensitive, necessary for C and C++ languages.
The librarian knows the default extensions for each of the arguments so
you do not need to type them in.
The first (leftmost) word Numbers is the name of the library and refers
to Numbers.LIB. If it does not exist, tlib.exe will create it.
The -+ before the names of each object file to put in the library are
commands specifying what to do. The '-' says to delete any existing object
file of that name from the library. The '+' says to add this one to the library.
If you are creating the library for the first time or if the object files are not
already in the library it will warn you that it did not find them in there.
The ending (rightmost) word Numbers following the comma is optional.
It is the name of a listing file which shows what is in the library.
Its name is Numbers.LST
Static libraries usually contain many object files, too many to fit on a command line.
Tlib is most often used with a response file, a text file from which it will take commands.
Below is an example of a command and file to do the same thing as we did with above:
tlib /C numbers @numbers.rsp
// -----Numbers.rsp------
-+one &
-+two &
-+three,numbers
I will have a look at Visual-Studio's LIB.exe as well,
to test how it works.
Best Regards
Uwe