title: Dllmain in DLL library in VC++
body: <p>I am going through my project code base, which consits of libraries and 
  applications. Some libraries are Dll's. Code is written in C++ for Windows
  using MS VS 2010.</p>
  
  <p>I taught for Dll we should write  DllMain function which is entry point for
  the DLL application. But in my project for DLL "DllMain" function is not present.</p>
  
  <p>My question when we require DllMain and when it is not required?</p>
  
  <p>Thanks for your time and help.</p>