Last post Jul 21, 2010 10:09 AM by The Wooden Tulip
Mar 16, 2010 06:03 AM|webfriend13|LINK
What is a difference between a regular DLL & .net DLL ?
Thanks in adavnce
Mar 16, 2010 06:18 AM|vik20000in|LINK
A Windows DLL contains library code to be used by any program running on Windows. A DLL may contain either structured or object oriented libraries.
COM (Component Object Model) is the component model based on the object oriented design, which means that the components represented by the COM component exists in the form of classes and objects implementing a standard specification defined by COM. COM components
can be used by any program running on Windows Operating System; be it is written with VB, C++, Java or even some .NET compliant language like C# and VB.NET.
Dot NET assembly is the component standard specified by the .NET. Hence, dot net assemblies are understandable to only Microsoft.NET and can be used only in .NET managed applications.
Mar 16, 2010 06:22 AM|ignatandrei|LINK
There are actually 3 kinds of dll
I will speak for versioning - version 1 , version 2 :
Regular DLL -a library of function- usually replaced brutally for next version -and error prone
COM DLL - same as Regular, but must be registered in the sistem and can be modified from v1 - to v2 very difficult (search for DLL Hell)
.NET DLL - a library of functions that can have multiple versions side by side and the application should load( via config file) what the application needs .
Apr 20, 2010 03:59 AM|pauldaniel|LINK
A dynamic-link library (DLL) is an executable file that acts as a shared library of functions. Dynamic linking provides a way for a process to call a function that is not part of its executable code. The executable code for
the function is located in a DLL, which contains one or more functions that are compiled, linked, and stored separately from the processes that use them. DLLs also facilitate the sharing of data and resources. Multiple applications can simultaneously access
the contents of a single copy of a DLL in memory
The Component Object Model (COM) is a component software architecture that allows applications and systems to be built from components supplied by different software vendors. COM is the underlying architecture that forms the foundation for higher-level software
services, like those provided by OLE. OLE services span various aspects of component software, including compound documents, custom controls, inter-application scripting, data transfer, and other software interactions.
Apr 23, 2010 03:32 AM|cnranasinghe|LINK
Old ddls are need to be registered in the registry to use, but .net dlls don't need that.
Jul 21, 2010 10:09 AM|The Wooden Tulip|LINK
For Starters, here is the Microsoft Description.
This is the WINDOWS definitive guide, and corresponding updates to what .DLL 's are. Including .NET Assemblies.
Other systems... And History...
In DOS, and in PRE-WIN32 environments, .DLL files were the accompanying libraries that could be upgraded independently of the application or application suite.
Because of this, versioning became VERY important.
In WIN16, .DLL files installed by different vendors (with the same .DLL filename) caused the proverbial DLL-HELL, and great care was required to verify and make sure that the Correct-Up-To-Date version with supported legacy call structures was the one that
was used/left on the system. Like running QEMM or MEMMAKER, this was a bit of an art, and certain individuals had a good talent to do this type of work.
In real-time and small memory form factor systems, a .DLL was not the preferred method, Static Libraries that were included in the Program Image was the norm,
but if memory was a factor, Static Libraries were usually encoded in EEPROM with either stack memory dynamic allocation or Low Memory Block reservations used for Scratch Space or Variables.
A .DLL would/could also be ROM-ed with active patching occurring when the library load to memory call was made (DLL's in this case were known as "Loadable Modules" from ROM" the Macintosh Toolbox was a good example of this. )
.DLL .net.DLL WIN32