Please note that, on a 64-bit Windows operating system, there are two versions of RegSvr32.
The 64-bit version is %systemroot%\System32\regsvr32.exe
The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe
Ensure you're using the right one.
regsvr32 path & filename of dll or ocx
====================
How to register DLL files in Windows 7
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:
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.
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 shdocvw.dll
…
If you successfully re-register a DLL file, you should get a message like this one:
DllRegisterServer in shell32.dll succeeded.
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. Read our guide how to unregister DLL files if you want to know how it works.
====================
Register/Un-Register DLL Files With RegSvrHelper In Windows
What Are DLL’s And Why To Register Them?
DLL stands for Dynamic Link Library. It is basically a shared library which is used for developing software. These files usually have the extension .ddl or .ocx, so when you register the DLL files, the information regarding these files is stored in the Windows registry.How To Register DLL With RegSverHelperRegSvr32 is the default windows utility which lets you register the DLL’s, but it is a command line based and for most users it becomes difficult to work with it. Try RegSvrHelper out, it is a free, portable and easy to use tool which offers an awesome GUI interface to register/unregister the DLL’s.
It basically uses regsrv32 at the backend to register/unregister any particular DLL. It does not have any error messages of its own. If you encounter any error message while using it, then it will be generated by RegSvr32. Simply browse and select the DLL of your choice and click the Register or Un-Register button.
It works flawlessly on Windows XP, Vista and Windows 7. It keeps the last 20 files that you registered/unregistered in its cache so that you may view the recent history. Enjoy!
No comments:
Post a Comment