Regsvr32.exe usage
Regsvr32.exe has the following command line options:
Regsvr32 [/u] [/n] [/I [: using line] Dllname
/U
-Cancel Server Registration
/I-call dllinstall to pass an optional [using line] for it. When used with/u, you can call the DLL to uninstall it.
/N-Do Not Call dllregisterserver; this option must be used with/I
/S-silent; no message box is displayed (in Windows XP
And Windows Vista)
When regsvr32.exe is used, it will try to load the component and call its
DllselfregisterFunction. If this attempt is successful, regsvr32.exe will display a dialog box Indicating success. If this attempt fails
Regsvr32.exe returns an error message, which may include the Win32 error code. For more information, click the document number below to view
Articles in the knowledge base:
193625 (http://support.microsoft.com/kb/193625/zh-cn/) wininet
Error Code (12001 to 12156)
For example, to manually register the sample. ocx ActiveX control, enter the following command at the command prompt:
C: \ regsvr32.exe sample. ocx reference: http://support.microsoft.com/kb/249873 DLL file: What is the ax file. Ax file is the DirectShow filters DLL file, loaded with regsvr32.