Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Keep The TechnoWorldInc.com Community Clean: Read Guidelines Here.
Recent Updates
[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[February 14, 2024, 02:00:39 PM]

[February 14, 2024, 02:00:39 PM]

[February 14, 2024, 02:00:39 PM]

[February 14, 2024, 02:00:39 PM]

[February 08, 2024, 10:26:18 AM]

[February 08, 2024, 10:26:18 AM]

[February 08, 2024, 10:26:18 AM]

[February 08, 2024, 10:26:18 AM]

[November 27, 2023, 06:32:12 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Programming Zone » ASP .NET
 Help me-difference between .dll and .exe file
Pages: [1]   Go Down
  Print  
Author Topic: Help me-difference between .dll and .exe file  (Read 9567 times)
Avena
Newbie
*



Karma: 0
Offline Offline

Posts: 1


View Profile Email
Help me-difference between .dll and .exe file
« Posted: November 19, 2007, 11:56:08 AM »


Hi,
I am currently learning Asp.net.I want to know the difference between .dll and .exe file.if any one know please explain this.I am awaiting for your valuable replies. Roll Eyes

« Last Edit: January 19, 2008, 10:40:19 PM by Vatsal » Logged


*Link Removed*
« Reply #1 Posted: November 19, 2007, 12:43:22 PM »
Mark David
Administrator
Super Elite Member
*****



Karma: 185
Offline Offline

Posts: 1624

!!!Techno King!!!

fabulous_designer
View Profile WWW
Re: Help me-difference between .dll and .exe file
« Reply #1 Posted: November 19, 2007, 12:43:22 PM »

Hi,

An EXE is visible to the system as a regular Win32 executable. Its entry point refers to a small loader which initializes the .NET runtime and tells it to load and execute the assembly contained in the EXE. A DLL is visible to the system as a Win32 DLL but most likely without any entry points. The .NET runtime stores information about the contained assembly in its own header.

You might want to review Jeffrey Richter's "Programming with .NET Framework" book for a very detailed explanation of .NET nuts and bolts, including loading DLLs and EXEs.
« Last Edit: January 19, 2008, 10:42:31 PM by Vatsal » Logged
« Reply #2 Posted: November 19, 2007, 12:45:34 PM »
Tina
Global Moderator
Elite Member
*****



Karma: 9
Offline Offline

Posts: 806

Hi Friendz...!!


View Profile WWW
Re: Help me-difference between .dll and .exe file
« Reply #2 Posted: November 19, 2007, 12:45:34 PM »

Well, .NET blurs the differences. As Dmitriy says a .NET library is a Win32
DLL, which means that there are flags set as such in the Win32 headers in
the file. A .NET process is a Win32 EXE, again, with flags set as such.
However, to .NET a library can have the extension DLL or EXE, .NET checks
for both, BUT, even if the extension is EXE it still must be built as a
library if it is used to export classes.

In .NET v1.1 and v1.0, only libraries can export classes, you cannot do this
with a process (there is one exception). If you want to export objects from
a process you must use .NET remoting. The exception is the .NET Installer
class, which can be a public class in a process and the installer tool can
still call it.

In .NET 2.0 both libraries (DLL) and processes (EXE) can export classes.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.062 seconds with 24 queries.