How to check whether a dll or ocx has been registered?

A

AP

Please advise a quick way to verify manually whether a dll or ocx has been
correctly registered. By searching the dll in the regedit many entries may
be found. How do I know that they are correctly registered?
 
T

Tim Meddick

Hi AP,
If you want to make sure a .dll or ocx file is registered, it does
no harm to register it again using:

regsvr32.exe myfile.ocx

....at the command prompt.
 
R

Robinson Zhang [MSFT]

Hi,

Thank you for your post.

Before moving on, I would like to let you know all registered COM class
objects are listed under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\. We can
navigate to this location in registry editor, highlight CLSID and press
Ctrl+F to search the dll/ocx file.

For more information, please refer to the following article:

CLSID Key
(http://msdn.microsoft.com/en-us/library/ms691424.aspx)

In addition, all registered COM class objects have particular GUID, you can
try to use OLE/COM Object Viewer to check it. This tool is included in
Windows Server 2003 Resource Kit Tools.

Download link:
Windows Server 2003 Resource Kit Tools
(http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7
-96EE-B18C4790CFFD&displaylang=en)

For more information:
Using the OLE/COM Object Viewer
(http://msdn.microsoft.com/en-us/library/d0kh9f4c(VS.80).aspx)

For your reference:
How To Register Your Custom ActiveX DLL from a Client
(http://support.microsoft.com/Default.aspx?kbid=173407)

Hope it helps.
 
R

Robinson Zhang [MSFT]

Hi,

I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.

Have a great day!

Robinson Zhang
Microsoft Online Support
 
Joined
Apr 26, 2009
Messages
1
Reaction score
0
HI, please let me know how to know if dll is registered or not, is there any tool which identify unregistered dlls??

Thanks in advance.


Hi,

I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.

Have a great day!

Robinson Zhang
Microsoft Online Support[/QUOTE]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top