I have done a search but I never saw in any post how to make a .lib. How can I do it?

And to use it I have read that I need something with #pragma, is that right?