• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what is dll?

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to know what is dll? actually i see this file mostly at windows .. so what is usage of dll.. and how to use other dll.. and dll?
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DLL stands for dynamic link library. They are more of an issue with languages compiled into machine code, like C and C++ than with Java. DLLs basically contain the code for certain functions that are linked (or loaded) dynamically, as opposed to statically.
When you compile a program, you can usually chose whether to link any used libraries statically or dynamically. If you choose static linking, the functions used are copied into the final exe file, thus making it larger. If several programs use the same function, it is copied into each exe file.
Dynamic linking on the other hand, stores the single function in its own file (the dll) which is loaded at run time. This way all programs that use the function can share a single copy, instead of each having their own. This reduces the size of each programs' exe file.
HTH
Layne
 
ali rafiq
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my english is week .. but i tried to understand .. is that file to control the another function .. like we we a example it at FileChooser ,, this file has loaded the dll of windows .. file chooser....
it is my point of view .. im wrong or right?
next
how to make dll with java compiler and how to use any dll?
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For instance if you want your Java code to invoke some code that is part of a Microsoft product, you would look for the MicroSoft .dll that contains that function and then invoke it using some JNI.
 
Or we might never have existed at all. Freaky. So we should cherish everything. Even this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic