What is the difference between an EXE and a DLL?

Answers were Sorted based on User's Feedback



What is the difference between an EXE and a DLL?..

Answer / manoj

Exe file is the executable(machine language) file which is
generated after successful compilation and linking process
of a programing language.

these files are especially created under dos Environment
like ms-dos this file is treated as the exteranal command
and whenever we execute this file the dos gives control to
the exe file and lets it to do what ever has been
instructed in this file.

in contrast the .DLL file usually comes under the 32-Bit
world like windows which contains all the API(Application
program interface)funtions which are called during
execution of a program.

Is This Answer Correct ?    11 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / kirti

You can create an objects of Dll but not of the EXE.

Dll is an In-Process Component whereas EXE is an OUt-Process Component.

Exe is for single use whereas you can use Dll for multiple use.

Exe can be started as standalone where dll cannot be.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / rohit passi

1.In Exe Main() exit and in dll no Main().
2.Exe can compie and execute and dll can compile only.
3.Exe User Interface and dll is not user interface.
4.Exe is not secure and dll is secure.

From rht.passi@gmail.com

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Programming Languages AllOther Interview Questions

1Q) your current CTC (current taking currency)? 2Q) Your take home salary?(Monthly Drawing amount, According to your payslips/bank statement) 3Q) Your Expected CTC? 4Q) Your home take salary?

1 Answers  


what is the certificates in biztalk?

0 Answers  


Find out the roles which gives access to all tables in SAP? Thanks in advance.

0 Answers  


if try is followed by finally block what happen to exception occured in try block

3 Answers   Professional Access,


Can i please VHDL code for D-Latch with clear input ?? (HINT: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs and Outputs: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;

0 Answers  






what is an INI file?

0 Answers   EID Parry,


what is inprocess and outprocess in vb

1 Answers   Msoft,


could u please also write an example of a code that involves instances from an abstract class just as u did for interfaces because u said it could also work which i really doubt. thanks

0 Answers  


Diffrence between 2.0,3.0,3.5,4.0. versions of .net?

0 Answers  


Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two

4 Answers  


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

0 Answers   HCL, Sacred Heart College,


How many packages available in java??

7 Answers   CTS,


Categories