A .lib file can't link with a DLL.
A .lib file is a file that you link with in order to use something from a DLL.
If that's what you want to do, then I would ask what IDE you have. Different IDEs and compilers have different options/places to put these files.