Microsoft KB Archive/87934

= Definition and Explanation of a .DLL file =

Article ID: 87934

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows 95
 * Microsoft Windows 3.0 Standard Edition
 * Microsoft Windows 3.1 Standard Edition
 * Microsoft Windows Millennium Edition

-



This article was previously published under Q87934



3.10 3.11

WINDOWS

kbusage





SUMMARY
A dynamic-link library (DLL) file is an executable file that allows programs to share code and other resources necessary to perform particular tasks. Microsoft Windows provides DLL files that contain functions and resources that allow Windows-based programs to operate in the Windows environment.



MORE INFORMATION
DLLs most often appear as files with a .DLL extension; however, they may also have an .EXE or other extension. For example, Shell.dll provides the Object Linking and Embedding (OLE) drag and drop routines that Windows and other programs use.

Kernel.exe, User.exe and Gdi.exe are examples of DLLs with .EXE extensions. They provide code, data or routines to programs running in the Windows operating system. For example, one of these files provides the &quot;CreateWindow&quot; function that programs use when a new window is created on the screen.

In Windows, an installable driver is also a DLL. A program can open, enable, query, disable and close the driver based on instructions written in the DLL file.

DLLs may be found in the Windows directory, Windows\System directory or in an program's directory.

If a program is started and one of its DLL files is missing or damaged, you may receive an error message like: &quot;Cannot find xyz.dll&quot;. If a program is started with an outdated DLL file or mismatched DLL files, the error message &quot;Call to undefined dynalink&quot; may be displayed. In these situations, the DLL file must be obtained and placed in the proper directory in order for the program to run correctly.

=== How to Determine the Origin of a DLL File

===

To determine the version number, company name or other information about a file:
 * 1) Click Start, point to Find, and then click Files or Folders.
 * 2) In the Named box, type the name of the file you want to find, for example &quot;shell32.dll&quot; (without the quotation marks), click Local Hard Drives or the drive letter you want to search in the Look In box, and then click Find Now.
 * 3) Right-click the file in the list of found files, click Properties, and then click the Version tab.

If the file is a Microsoft file, extract a new copy of the file. For information about extracting Windows files, see the following article in the Microsoft Knowledge Base:

ARTICLE-ID: 129605

TITLE : How to Extract Original Compressed Windows Files

If the Company Name referenced on the Version tab is different than Microsoft, contact the manufacturer for assistance.

Additional query words: 3.10 3.00 3.00a

Keywords: kbprod2web KB87934

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.