Skip to content

TechXcel.com - provides technical excellence...

Narrow screen resolution Wide screen resolution Increase font size Decrease font size Default font size default color orange color green color
You are here: Home
How can I register (install) a .dll on windows? PDF Print E-mail
(1 vote)
Windows Registry
Written by Chetankumar Akarte   
Tuesday, 10 April 2007

How can I register (install) a .dll on windows?


To register (install) a .dll on windows Microsoft provided a command-line tool ‘Regsvr32.exe’. Regsvr32 registers .dll files as command components in the windows registry.
When you use Regsvr32.exe, it attempts to load the component and call its DLLSelfRegister function. If this attempt is successful, Regsvr32.exe displays a dialog indicating success. To register dll go to start > Run

Tip..!!
You can also register a dll by creating a .bat file. Now we see example to register dll ‘RTF_to_HTM.dll’. Open Notepad.exe and put text ‘regsvr32 RTF_to_HTM.dll’ and save it.

File Name - registerDLL.bat
Save as Type – All Files

Put the bat file in folder where you dll is present and run bat to register it.

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 RTF_to_HTM.dll
or
regsvr32.exe RTF_to_HTM.dll

Comments (0)Add Comment

Write comment
You must be logged in to a comment. Please register if you do not have an account yet.

Copyright 2007. All Rights Reserved.
busy




Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Spurl!Wists!Simpy!Newsvine!Blinklist!Furl!Fark!Blogmarks!Yahoo!Smarking!Netvouz!Shadows!
RawSugar!Ma.gnolia!PlugIM!Squidoo!BlogMemes!FeedMeLinks!BlinkBits!Tailrank!linkaGoGo!
Last Updated ( Wednesday, 11 April 2007 )
 

Who's Online

User Login

PayPal Donation

Enter Amount:

Syndicate

TechXcel's Friends

Tutorials Garden
Wicolorz
pixel2life

Text Link Add

Statistics

Members: 271
News: 60
Web Links: 6
Visitors: 301004

Google Seach

Google AdSense

TechXcel Referrals

TechXcel's Sponcer...