Friday 10 May 2013

How To Register DLL Files In Windows 7


How To Register DLL Files In Windows 7

If you want to know how to register DLL files in Windows 7, read this quick guide that will teach you the basics.
Register DLL files

Registering DLL files is quite simple, all you need to know is the command to register DLL files and the name of the DLL file that you want to register.
The command to register the files manually is called regsvr32. Now let’s take a quick look at the syntax of regsvr32:
/u Used to unregister DLL files
/s If you don’t want any dialogs you can use the “s” for silent option
/c Get the console output
/n Register DLL file without DllRegisterServer
/i Register DLL file with DllInstall (or DllUninstall if /u is specified)
With option /i you can pass an optional command via /i:cmdline.
DllInstall is used only for application installation and setup.

Manually Register DLL files via Command Prompt

So, to register DLL files, simply open up an elevated command prompt and run commands like:
regsvr32 shell32.dll
regsvr32 shdocvw.dll
If you successfully re-register a DLL file, you should get a message like this one:
DllRegisterServer in shell32.dll succeeded.
RegSVR32 - Register DLL files
Re-registering a DLL file manually can often help to solve problems, so you might want to look into it if you have problems with DLL files. As you can see from the command line option above, you can also unregister DLL files.

0 comments:

Post a Comment