Using RegSvr32.exe

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

One response to this post.

  1. 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).

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: