Solved

Trying to Understand REGSVR32

Posted on 2009-05-18
7
480 Views
Last Modified: 2012-05-07
I've used regsvr32 in the past, but I really haven't understood what it does.  As I understand them, DLLs (and OCXs) are customarily designed for specific applications, but when I run regsvr32, I'm not referencing a specific application.  When I run regsvr32, am I registering a DLL required by Windows?  iexplore.exe?  explorer.exe?  
0
Comment
Question by:jdana
7 Comments
 
LVL 4

Assisted Solution

by:TG_Tech
TG_Tech earned 42 total points
ID: 24412848
It reregister DLLs in the Windows Registry with Regsvr32.

I run the command with a switch and an argument ... Specifying a DLL

Regsvr32.exe usage

RegSvr32.exe has the following command-line options:
Regsvr32 [/u] [/n] [/i[:cmdline]] dllname

/u - Unregister server
/i - Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall
/n - do not call DllRegisterServer; this option must be used with /i
/s  Silent; display no message boxes (added with Windows XP and Windows Vista)


Source --> http://support.microsoft.com/kb/249873
0
 
LVL 11

Accepted Solution

by:
pcfreaker earned 43 total points
ID: 24412853
Hi,

Indeed you are right, it can be used for both purposes you mention, take a look a this article for you will get a better overview of its options:

http://support.microsoft.com/kb/249873/en-us

Any doubts let me know.

Rgds.
0
 
LVL 47

Assisted Solution

by:rpggamergirl
rpggamergirl earned 42 total points
ID: 24413262

You use regsvr32 to register and unregister DLLs and OCX.
Regsvr32 will load the specified object and then calls the function UnRegisterServer() in the dll file(if you are unregistering a dll)...or calls the function DllRegisterServer(if you're registering a dll file)
And you can use Regsvr32 not only for files use by Windows(iexplore.exe or explorer.exe) but it can also be called for normal programs.
http://support.microsoft.com/kb/249873
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 41 total points
ID: 24414075
jdana--When you register a .dll or .ocx file, you are loading it into memory so it can do its job.  That should happen automatically, but sometimes it does not.
0
 
LVL 17

Assisted Solution

by:Shanmuga Sundaram
Shanmuga Sundaram earned 82 total points
ID: 24414244
regsvr32.exe is a process belonging to the Windows OS and is used to register dynamic-link libraries and ActiveX controls in the registry. This program is important for the stable and secure running of your computer and should not be terminated. You can use the Regsvr32 tool (Regsvr32.exe) to register and unregister object linking and embedding (OLE) controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files that are self-registerable. This may be necessary to troubleshoot some issues with Windows, Microsoft Internet Explorer, or other programs. Additional information can be found in

http://www.uninet.net/~blaisdel/Regsvr32Info.htm
http://www.experts-exchange.com/Programming/Q_21020348.html
0
 
LVL 17

Assisted Solution

by:Shanmuga Sundaram
Shanmuga Sundaram earned 82 total points
ID: 24414270
0
 

Author Closing Comment

by:jdana
ID: 31582622
Thanks for some terrific responses.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Toshiba Laptop (WIN XP) will not start 6 74
Compatiable modem 2 54
Batch Script is not working at schedule in WIN 7 6 86
Windows Mail question 15 45
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now