How to generate .H file from the .lib file ? i have created .lib file and i have the .c file for the .lib file itself.
There is nothing special or magic about so-called "header" files - they just follow the standard syntax of the 'C' programming language.
So the literature you're looking for is just standard 'C' literature - textbooks, etc.
Here's some to get you started:
blog.antronics.co.uk/.../