Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI,

Can anyone tell me where and when I should have to create DLL project rather than go for EXE project and vice versa.

Thanks In Advance.
Posted

1 solution

For understanding purposes you can think of DLL (Dynamic Link Library) as building block which once accumulate to do something great. DLL is good for modules that may or may not be independent. For example a file logging module could be build as independent dll which you can link to any projects that require file logging

Executables are standalone executables run by operating systems forexample NotePadd app which requires dlls to work. You build executables for cases where you require application to run on desktop or mobile interface systems or standalone windows services.

Hopes this gives you a bit of idea
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900