?
Solved

Trying to Understand REGSVR32

Posted on 2009-05-18
7
Medium Priority
?
491 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 168 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 172 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 168 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 164 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 328 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 328 total points
ID: 24414270
0
 

Author Closing Comment

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

807 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