>> Y we use DLL files?
Answer: Y not?
>>where we should use DLL files and where not
DLLs are never actually required -- the same thing could be accomplished by using statically-linked libraries. But then that would make the operating system and all the programs on it very very huge. You might not have a large enough disk drive to hold all that duplicate code.
One case is internationalizing programs. Instead of writing a whole program for each language (e.g. Entlish, Spanish, German, Chinese, etc) it can be done by writing language-specific resource DLLs. One program, many language-specific DLLs.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2280
Retired and Enjoying Life
Online 21,935 posts
since Aug 2005