To register the COM classes (types of COM objects) implemented by a COM server, run RegSvr32 from the command line. It takes the name of the DLL, using full or relative path name, housing the in-process server as a command-line argument. RegSvr32 loads the DLL and calls
To unregister a server's COM classes, run RegSvr32 using command-line flag
RegSvr32 is usually found in the DevStudio\SharedIDE\bin directory. It may be in a different location on your system.
%systemroot%\System32 folder in Windows XP and later versions of Windows.Note On a 64-bit version of Windows operating system, there are two versions of the Regsv32.exe file: