regsvr32
In computing, regsvr32
(Microsoft Register Server) is a command-line utility in Microsoft Windows operating systems for registering and unregistering DLLs and ActiveX controls in the Windows Registry.[1]
To be used with regsvr32, a DLL must export the functions DllRegisterServer
and DllUnregisterServer
.[2]
regsvr32
in Windows is comparable to ldconfig
in Linux.
Example usage
regsvr32 shmedia.dll
for registering a file
regsvr32 /u shmedia.dll
for unregistering a file
If another copy of shmedia.dll exists in the system search path, regsvr32 may choose that copy instead of the one in the current directory. This problem can usually be solved by specifying a full path (e.g., c:\windows\system32\shmedia.dll) or using the following syntax:
regsvr32 .\shmedia.dll
References
External links
- Microsoft TechNet Regsvr32 article
- Explanation of Regsvr32 Usage and Error Messages
- C# Frequently Asked Questions: What is the equivalent to regsvr32 in .NET?
- A free graphical user interface for regsvr32.exe
This article is issued from Wikipedia - version of the 12/12/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.