Creating a static library and *.a file

Hello,

I would like to encapsulate part of my CCES 2.8.0 project, into a static library.

1. I already went through the CrossCore® Embedded Studio 2.8.0 > Integrated Development Environment > Managing CCES Projects > Creating Resources > Creating a CrossCore Static Library Project.

2. What is the difference between *.dlb and *.a and what is the prefered extension, or at least pros and cons of each?

3. The part of the project I want to encapsulate contins severl c and h file. One of the c files (primary) uses all the other c file. If I want to have single header file to the primary c file, how do I do that?

Thanks, T.