• >

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

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Slashdot
  • Technorati
  • Ping.fm
  • Reddit

No related posts.

This entry was posted in Programming, RegSvr32 and tagged . Bookmark the permalink. Trackbacks are closed, but you can post a comment.

One Comment

  1. AngelariiNo Gravatar
    Posted February 27, 2007 at 8:59 am | Permalink

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

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • isisun photos

  • Categories

  • posidev.com

    Valid XHTML 1.0 Transitional

    Tracked by ClickAider

  • Charts

  • Visitors

    free counters