is dll Registered?

G

GaryDean

not sure this is the right forum for this but I don't know what is...

I inherited an application that has a lot of dlls. Some are unmanaged com
dlls and need to be registered.

How can I tell if the dll is com?
How can I tell if it's registered?
 
H

Herfried K. Wagner [MVP]

GaryDean said:
not sure this is the right forum for this but I don't know what is...

I inherited an application that has a lot of dlls. Some are unmanaged com
dlls and need to be registered.

How can I tell if the dll is com?
How can I tell if it's registered?

I suggest to take a look at the "OLE-COM Object Viewer" tool coming with
"bigger" versions of VS ("%PROGRAMFILES%\Microsoft Visual Studio
8\Common7\Tools\Bin\OleView.Exe"). In addition, take a look at the "regasm"
and "regsvr32" tools.
 
P

Phil Wilson

If you dependencywalker on them you'll see a DllRegisterServer (or not)
exported.

If you don't have the source to know the relevant guids, you'd use OLEView
to find CLSIDs, or use a tool that spies on registry changes when you run
regsvr32 on them to see what changes are made to the registry.
 

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