Many beginners often face difficulty in generating a .lib file. Most of the time its a missing .DEF file or not defining EXPORTUNFROZEN in the mmp. This article explains why a .DEF file is required and its purpose properly. Since most developers use Carbide.c++ IDE create a .LIB project, they miss to Freeze the build or add EXPORTUNFROZEN to the mmp. These minor but important details have been properly highlighted in this article.
It is very helpful for all those who wonder why their .lib file is not generated.
--Kamalakshan 14:16, 30 September 2009 (UTC)