How Do You Register a DLL?

How Do You Register a DLL?

Enter a command with the DLL name in the Command Prompt to register a DLL file. You need a Windows 7 or 8 computer and a DLL file to get started.

  1. Open a browser

    Open your preferred Web browser, and download the necessary DLL file to your computer. You can also retrieve DLL files from your installation disc if your system does not have the file installed.

  2. Open Command Prompt

    Click the Start button on your Windows taskbar. Type "cmd" or "command" in the search field. Click Command Prompt from the list. In Windows 8, hover your cursor over the right corner of the screen to bring up the search options. Type "command" in the text box, and click on Command Prompt.

  3. Register the DLL file

    Type "regsvr32 'path and FileName.dll'" without quotes in the Command Prompt. Replace "path" and "filename.dll" with the folder path on your computer and the name of the DLL file. For example, type "C:WindowsSystem32myfile.dll" if the file is located in the System32 folder.

  4. Check the results

    Windows displays a message if the DLL registration is successful. It then places the DLL file in the system registry. If you have a program that requires that specific DLL to start, confirm that the program starts after you register the file.