Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

regsrv32 and dll/ocx self registering

Posted on 2000-03-16
5
Medium Priority
?
465 Views
Last Modified: 2013-12-28
I am dealing with SMS scripting and have captured scripts which include self registering information and regsrv32. Please can someone provide as comprehensive answer as possible to explain how regsrv32 works and what it really does. I need the help to clear my ignorance of this subject. Thanks.
0
Comment
Question by:ianbeckwith
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 6

Expert Comment

by:Lermitte
ID: 2623136
See this KB Q249873

Sorrie I have no URL..

Mario
0
 
LVL 7

Expert Comment

by:cmcgee
ID: 2623203
The link for that KB article is here and is pretty descriptive about the functions of Regsvr32.

http://support.microsoft.com/support/kb/articles/Q249/8/73.ASP

Craig
0
 

Author Comment

by:ianbeckwith
ID: 2623927
I have previously read this article, but what I don't understand is why the files need to be registered (what functionality will be provided etc) and what the registering actually does (changes to registry entries etc). Please can anyone offer further assistance.
0
 
LVL 4

Accepted Solution

by:
mandhjo earned 600 total points
ID: 2624572
Regsvr32 opens a DLL and calls the DLL Entry Point  DLLRegisterServer.

Registering a COM object (the next generation of OLE) involves adding a key under the HKLM\CLSID regsitry key.  The key that is added is the CLSID (or GUID) of the COM object. Further keys and values are added under the newly created CLSID.  One of the main values is an entry that specifies the location of the DLL file.  Another one that's relevant is the ProgID entry.  This provides a "unique" and more readable value that programmers can use to access the COM object.

This is used during automation.  If some developer writes a program to use the COM object, they can very easily create and use the COM object that resides within that DLL.  All they have to do is refer to the CLSID or the PROGID and they are in business.  The WindowsNT architecture turns the CLSID or PROGID into a usable object with data members and member functions.
0
 

Author Comment

by:ianbeckwith
ID: 2627349
There is a little bi that is over my head, not being a programmer, but I get the idea and it is clearer now.
Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

604 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