.Lib File Information

I have a few questions about creating a Lib file:

- Do namespaces have any effect on how the functions should be declared in the header?

- Do I have to use C conventions in a Lib file?

- Can variables be created outside of a function and still remain in the Lib file? For example, maybe a variable to contain information to determine the FPS.

- What if I have some code in LibFile1 that needs some code from LibFile2? Do I just include the header for LibFile2 when making LibFile1?
Topic archived. No new replies allowed.