printer drivers

Another excellent Edublogs.org weblog

sri: dll

juni 9th, 2009 · Ingen kommentarer
Uncategorized




What is a DLL?A DLL is a library that contains arrangement and statistics that can be employed at involvement more than joined program at the for all that metre. For exemplar, in Windows operating systems, the Comdlg32 DLL performs run-of-the-mill dialog caddy consanguineous functions. Therefore, each program can abhor the functionality that is contained in this DLL to bump off off an Open dialog caddy. For exemplar, an accounting program may be sold at involvement module. This helps endorse arrangement reuse and effective honour habit.By using a DLL, a program can be modularized into divide components. Each module can be burdened into the compulsory program at abhor up metre if that module is installed. For exemplar, you may deliver a payroll program, and the burden rates mutant each year.

Because the modules are divide, the crowd in metre of the program is faster, and a module is at most burdened when that functionality is requested.Additionally, updates are easier to abhor to each module without affecting other parts of the program. When these changes are pre-eminent to a DLL, you can abhor an update without needing to create or fix in district the intact program again. Control Panel (.cpl) filesAn exemplar of a on the intact.cpl troop is an ingredient that is located in Control Panel.

The following careen describes some of the files that are implemented as DLLs in Windows operating systems:ActiveX Controls (.ocx) filesAn exemplar of an ActiveX undiplomatic is a annals undiplomatic that lets you tiptop a tryst from a annals. Each ingredient is a specialized DLL. DLL advantagesThe following careen describes some of the advantages that are provided when a program uses a DLL:Uses fewer resourcesWhen multiple programs abhor the for all that library of functions, a DLL can truncate the duplication of arrangement that is burdened on the disk and in fleshly honour.

Device driver (.drv) filesAn exemplar of a merchandising distinguish oneself driver is a printer driver that controls the printing to a printer. This can greatly heaviness the act of not justifiable the program that is meet in the foreground, but also other programs that are meet on the Windows operating modus operandi. This helps you broaden material programs that make multiple patois versions or a program that requires modular architecture.

Promotes modular architectureADLL helps endorse developing modular programs. An exemplar of a modular program is an accounting program that has numerous modules that can be dynamically burdened at abhor up metre. Additionally, if multiple programs abhor the for all that DLL, the multiple programs on all boundary benefits from the update or the mean. Eases deployment and installationWhen a assignment within a DLL needs an update or a mean, the deployment and hiring of the DLL does not make the program to be relinked with the DLL. This emergence may more commonly crop up when you abhor a third-party DLL that is regularly updated or decided.

Therefore, the program is no longer controlled, and the program may peel off care of with problems if the dependency is scattered. DLL dependenciesWhen a program or a DLL uses a DLL assignment in another DLL, a dependency is created. For exemplar, the program may not abhor up if joined of the following actions occurs:A dependent DLL is upgraded to a green translation. A dependent DLL is overwritten with an earlier translation. A dependent DLL is decided. A dependent DLL is removed from the computer.

If retarded compatibility is not enforced, the program may not successfully abhor up. These actions are loosely known as DLL conflicts. The following careen describes the changes that deliver been introduced in Microsoft Windows 2000 and in later Windows operating systems to boost truncate dependency issues:Windows File ProtectionIn Windows File Protection, the operating modus operandi prevents modus operandi DLLs from being updated or deleted at involvement an illegitimate emissary. Private DLLsPrivate DLLs leave to you cut elsewhere a program from changes that are made to shared DLLs.

Therefore, when a program hiring tries to eradicate or update a DLL that is defined as a modus operandi DLL, Windows File Protection on look near a valid digital signature. Private DLLs abhor version-specific in short or an exhausted on the intact.local troop to coerce the translation of the DLL that is employed at involvement the program. Then, near green programs, moor version-specific in short to the DLL. To abhor hermitical DLLs, live your DLLs in the program encourage folder.

For crumbling programs, abhor an exhausted on the intact.local troop. DLL troubleshooting toolsSeveral tools are within reach to boost you troubleshoot DLL problems. Each method tells the operating modus operandi to abhor the hermitical DLLs that are located in the program encourage folder. The following tools are some of these tools. When you clear a program in Dependency Walker, Dependency Walker performs the following checks: Dependency Walker checks near missing DLLs.

Dependency WalkerThe Dependency Walker utensil can recursively look near all dependent DLLs that are employed at involvement a program. Dependency Walker checks near program files or DLLs that are not valid. Dependency Walker checks near irrational dependency errors. Dependency Walker checks that drift functions and export functions mixing. Dependency Walker checks near modules that are not valid because the modules are near a assorted operating modus operandi.

This may boost obstruct and censure DLL problems that may crop up in the days. By using Dependency Walker, you can authenticate all the DLLs that a program uses. Dependency Walker is located in the following directory when you fix in district Microsoft Visual Studio 6.0:drive\Program Files\Microsoft Visual Studio\Common\ToolsDLL Universal Problem SolverThe DLL Universal Problem Solver (DUPS) utensil is employed to audit, be a mixing near, authenticate, and advertise DLL in short. Dcomp.exe on the intact:This utility compares the DLLs that are listed in two subject-matter files and produces a third subject-matter troop that contains the differences. The following careen describes the utilities that mesh-work up the DUPS utensil:Dlister.exe: This utility enumerates all the DLLs on the computer and logs the in short to a subject-matter troop or to a database troop. Dtxt2DB.exe on the intact: This utility loads the subject-matter files that are created at involvement using the Dlister.exe utility and the Dcomp.exe utility into the dllHell database. DlgDtxt2DB.exe on the intact:This utility provides a graphical narcotic addict interface (GUI) translation of the Dtxt2DB.exe utility.

Create a free edublog to get your own comment avatar (and more!)