I wanted to register a dll library ,so I have to use the RegSvr32 application.How the prog is used(example):
Syntax: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname
Parameters:
/u : Unregisters server.
/s : Specifies regsvr32 to run silently and to not display any message boxes.
/n : Specifies not to call DllRegisterServer. You must use this option with /i.
/i:cmdline : Calls DllInstall passing it an optional [cmdline]. When used with /u, it calls dll uninstall.
dllname : Specifies the name of the dll file that will be registered.
/? : Displays help at the command prompt.
Example: regsvr32.exe /s rbdata.ocx
No related posts.

One Comment
Quote “I wanted to register a dll library … Example: regsvr32.exe /s rbdata.ocx”. Do you know what this registration means? It writes the component’s ID in the registry so than other applications can find and use it. It works for all kinds of ActiveX objects and they don’t need to be packaged as DLLs (see example).