Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 150
  • Last Modified:

Diffrence between a dll and exe

hi
i have a file search code. so can any one tell in which it work better in exe or in a dll and why?
0
raj_123k
Asked:
raj_123k
  • 2
1 Solution
 
AndyAinscowCommented:
No difference (essentially) in performance.
The code in an exe will work for that exe.
The code in a dll will work for ALL applications that call that function you export from the dll.

Summary - dll will allow you to share that functionality between applications and has just one copy of the code.  In an exe you have to copy/paste the code and have multiple copies to modify (bug fix, improve functionality...)
0
 
raj_123kAuthor Commented:
i request to moderater
to delete this question and return my point because i did not get the answer of this question
and no cooment added from long time.


Raj
0
 
AndyAinscowCommented:
What was not satisfactory with my comment?
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now