Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registering dll files

Status
Not open for further replies.

jshepherd

IS-IT--Management
Joined
Apr 7, 2003
Messages
112
Location
GB
I seem to be having some problems registering some required dll files. Could anyone provide the correct format for using regsvr32.

Thanks,

John
 
It is generally best practice to either fully path the DLL to be registered, or register once inside the folder that contains the DLL.

Use your CMD session to move between folders.

Finally, some work best if using the "/i" option, although I have no idea why.

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.
 
Cheers,

I think I was having a bad blond-day and not putting the full path of the dll's location.

All works now.

Thanks.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top